home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Word Games •
/
HangMan Plus v2.0
/
HangMan Plus v2.0.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1991-09-24
|
337KB
|
6,049 lines
# near model CODE resource
# jump table entries: 80-93 (14 of them)
fn00000000:
00000000 4E56 FF9E link A6, -0x0062
00000004 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000008 286E 0008 movea.l A4, [A6 + 0x8]
0000000C 266E 000C movea.l A3, [A6 + 0xC]
00000010 206E 0010 movea.l A0, [A6 + 0x10]
00000014 2D50 FFE0 move.l [A6 - 0x20], [A0]
00000018 2D68 0004 FFE4 move.l [A6 - 0x1C], [A0 + 0x4]
0000001E 226E 0014 movea.l A1, [A6 + 0x14]
00000022 2D51 FFD8 move.l [A6 - 0x28], [A1]
00000026 2D69 0004 FFDC move.l [A6 - 0x24], [A1 + 0x4]
0000002C 486E FFA0 pea.l [A6 - 0x60]
00000030 A874 syscall GetPort
00000032 3A2E FFE6 move.w D5, [A6 - 0x1A]
00000036 9A6E FFE2 sub.w D5, [A6 - 0x1E]
0000003A 302E FFE4 move.w D0, [A6 - 0x1C]
0000003E 906E FFE0 sub.w D0, [A6 - 0x20]
00000042 3D40 FFFE move.w [A6 - 0x2], D0
00000046 2D6E FFE0 FFB8 move.l [A6 - 0x48], [A6 - 0x20]
0000004C 2D6E FFE4 FFBC move.l [A6 - 0x44], [A6 - 0x1C]
00000052 2D6E FFB8 FFC8 move.l [A6 - 0x38], [A6 - 0x48]
00000058 2D6E FFBC FFCC move.l [A6 - 0x34], [A6 - 0x44]
0000005E 2D6E FFD8 FFB0 move.l [A6 - 0x50], [A6 - 0x28]
00000064 2D6E FFDC FFB4 move.l [A6 - 0x4C], [A6 - 0x24]
0000006A 2D6E FFB0 FFC0 move.l [A6 - 0x40], [A6 - 0x50]
00000070 2D6E FFB4 FFC4 move.l [A6 - 0x3C], [A6 - 0x4C]
00000076 362E 001A move.w D3, [A6 + 0x1A]
0000007A BA43 cmp.w D5, D3
0000007C 6D06 blt +0x8 /* 00000084 */
0000007E B66E FFFE cmp.w D3, [A6 - 0x2]
00000082 6F02 ble +0x4 /* 00000086 */
label00000084:
00000084 7601 moveq.l D3, 0x01
label00000086:
00000086 302E 0018 move.w D0, [A6 + 0x18]
0000008A 0C40 0014 cmpi.w D0, 0x14
0000008E 6200 03C2 bhi +0x3C4 /* 00000452 */
00000092 43FA 03C6 lea.l A1, [PC + 0x3C6 /* 0000045A, value 0xFCFAFFF8 */]
00000096 D040 add.w D0, D0
00000098 D2F1 0000 add.w A1, [A1 + D0.w]
0000009C 4ED1 jmp [A1]
0000009E 302E FFCC move.w D0, [A6 - 0x34]
000000A2 9043 sub.w D0, D3
000000A4 3D40 FFC8 move.w [A6 - 0x38], D0
000000A8 3D6E FFDC FFFC move.w [A6 - 0x4], [A6 - 0x24]
000000AE 302E FFFC move.w D0, [A6 - 0x4]
000000B2 9043 sub.w D0, D3
000000B4 3D40 FFFA move.w [A6 - 0x6], D0
000000B8 486E FFC0 pea.l [A6 - 0x40]
000000BC 3F2E FFDA move.w -[A7], [A6 - 0x26]
000000C0 3F00 move.w -[A7], D0
000000C2 3F2E FFDE move.w -[A7], [A6 - 0x22]
000000C6 3F2E FFFC move.w -[A7], [A6 - 0x4]
000000CA A8A7 syscall SetRect
000000CC 7800 moveq.l D4, 0x00
000000CE 6074 bra +0x76 /* 00000144 */
label000000D0:
000000D0 4EBA 03B2 jsr [PC + 0x3B2 /* 00000484 */]
000000D4 4A40 tst.w D0
000000D6 6600 037A bne +0x37C /* 00000452 */
000000DA 2F0C move.l -[A7], A4
000000DC 2F0B move.l -[A7], A3
000000DE 486E FFC8 pea.l [A6 - 0x38]
000000E2 486E FFC0 pea.l [A6 - 0x40]
000000E6 3F2E 001E move.w -[A7], [A6 + 0x1E]
000000EA 42A7 clr.l -[A7]
000000EC A8EC syscall CopyBits
000000EE 486E FFC8 pea.l [A6 - 0x38]
000000F2 4267 clr.w -[A7]
000000F4 3003 move.w D0, D3
000000F6 4440 neg.w D0
000000F8 3F00 move.w -[A7], D0
000000FA A8A8 syscall OffsetRect
000000FC 486E FFC0 pea.l [A6 - 0x40]
00000100 4267 clr.w -[A7]
00000102 3003 move.w D0, D3
00000104 4440 neg.w D0
00000106 3F00 move.w -[A7], D0
00000108 A8A8 syscall OffsetRect
0000010A 302E FFC0 move.w D0, [A6 - 0x40]
0000010E B06E FFD8 cmp.w D0, [A6 - 0x28]
00000112 6C24 bge +0x26 /* 00000138 */
00000114 486E FFC0 pea.l [A6 - 0x40]
00000118 4267 clr.w -[A7]
0000011A 302E FFD8 move.w D0, [A6 - 0x28]
0000011E 906E FFC0 sub.w D0, [A6 - 0x40]
00000122 3F00 move.w -[A7], D0
00000124 A8A8 syscall OffsetRect
00000126 486E FFC8 pea.l [A6 - 0x38]
0000012A 4267 clr.w -[A7]
0000012C 302E FFE0 move.w D0, [A6 - 0x20]
00000130 906E FFC8 sub.w D0, [A6 - 0x38]
00000134 3F00 move.w -[A7], D0
00000136 A8A8 syscall OffsetRect
label00000138:
00000138 3F2E 001C move.w -[A7], [A6 + 0x1C]
0000013C 4EBA 1E58 jsr [PC + 0x1E58 /* 00001F96 */]
00000140 548F addq.l A7, 2
00000142 5244 addq.w D4, 1
label00000144:
00000144 302E FFFE move.w D0, [A6 - 0x2]
00000148 48C0 ext.l D0
0000014A 81C3 divs.w D0, D3
0000014C B044 cmp.w D0, D4
0000014E 6C80 bge -0x7E /* 000000D0 */
00000150 6000 0300 bra +0x302 /* 00000452 */
00000154 302E FFCA move.w D0, [A6 - 0x36]
00000158 D043 add.w D0, D3
0000015A 3D40 FFCE move.w [A6 - 0x32], D0
0000015E 302E FFBE move.w D0, [A6 - 0x42]
00000162 9043 sub.w D0, D3
00000164 3D40 FFBA move.w [A6 - 0x46], D0
00000168 302E FFC2 move.w D0, [A6 - 0x3E]
0000016C D043 add.w D0, D3
0000016E 3D40 FFC6 move.w [A6 - 0x3A], D0
00000172 302E FFB6 move.w D0, [A6 - 0x4A]
00000176 9043 sub.w D0, D3
00000178 3D40 FFB2 move.w [A6 - 0x4E], D0
0000017C 7800 moveq.l D4, 0x00
0000017E 6000 00FC bra +0xFE /* 0000027C */
label00000182:
00000182 4EBA 0300 jsr [PC + 0x300 /* 00000484 */]
00000186 4A40 tst.w D0
00000188 6600 02C8 bne +0x2CA /* 00000452 */
0000018C 2F0C move.l -[A7], A4
0000018E 2F0B move.l -[A7], A3
00000190 486E FFC8 pea.l [A6 - 0x38]
00000194 486E FFC0 pea.l [A6 - 0x40]
00000198 3F2E 001E move.w -[A7], [A6 + 0x1E]
0000019C 42A7 clr.l -[A7]
0000019E A8EC syscall CopyBits
000001A0 486E FFC8 pea.l [A6 - 0x38]
000001A4 3F03 move.w -[A7], D3
000001A6 4267 clr.w -[A7]
000001A8 A8A8 syscall OffsetRect
000001AA 486E FFC0 pea.l [A6 - 0x40]
000001AE 3F03 move.w -[A7], D3
000001B0 4267 clr.w -[A7]
000001B2 A8A8 syscall OffsetRect
000001B4 2005 move.l D0, D5
000001B6 48C0 ext.l D0
000001B8 81FC 0002 divs.w D0, 0x2
000001BC D06E FFDA add.w D0, [A6 - 0x26]
000001C0 B06E FFC6 cmp.w D0, [A6 - 0x3A]
000001C4 6C34 bge +0x36 /* 000001FA */
000001C6 486E FFC0 pea.l [A6 - 0x40]
000001CA 2005 move.l D0, D5
000001CC 48C0 ext.l D0
000001CE 81FC 0002 divs.w D0, 0x2
000001D2 D06E FFDA add.w D0, [A6 - 0x26]
000001D6 906E FFC6 sub.w D0, [A6 - 0x3A]
000001DA 3F00 move.w -[A7], D0
000001DC 4267 clr.w -[A7]
000001DE A8A8 syscall OffsetRect
000001E0 486E FFC8 pea.l [A6 - 0x38]
000001E4 2005 move.l D0, D5
000001E6 48C0 ext.l D0
000001E8 81FC 0002 divs.w D0, 0x2
000001EC D06E FFE2 add.w D0, [A6 - 0x1E]
000001F0 906E FFCE sub.w D0, [A6 - 0x32]
000001F4 3F00 move.w -[A7], D0
000001F6 4267 clr.w -[A7]
000001F8 A8A8 syscall OffsetRect
label000001FA:
000001FA 2F0C move.l -[A7], A4
000001FC 2F0B move.l -[A7], A3
000001FE 486E FFB8 pea.l [A6 - 0x48]
00000202 486E FFB0 pea.l [A6 - 0x50]
00000206 3F2E 001E move.w -[A7], [A6 + 0x1E]
0000020A 42A7 clr.l -[A7]
0000020C A8EC syscall CopyBits
0000020E 486E FFB8 pea.l [A6 - 0x48]
00000212 3003 move.w D0, D3
00000214 4440 neg.w D0
00000216 3F00 move.w -[A7], D0
00000218 4267 clr.w -[A7]
0000021A A8A8 syscall OffsetRect
0000021C 486E FFB0 pea.l [A6 - 0x50]
00000220 3003 move.w D0, D3
00000222 4440 neg.w D0
00000224 3F00 move.w -[A7], D0
00000226 4267 clr.w -[A7]
00000228 A8A8 syscall OffsetRect
0000022A 2005 move.l D0, D5
0000022C 48C0 ext.l D0
0000022E 81FC 0002 divs.w D0, 0x2
00000232 D06E FFDA add.w D0, [A6 - 0x26]
00000236 B06E FFB2 cmp.w D0, [A6 - 0x4E]
0000023A 6F34 ble +0x36 /* 00000270 */
0000023C 486E FFB0 pea.l [A6 - 0x50]
00000240 2005 move.l D0, D5
00000242 48C0 ext.l D0
00000244 81FC 0002 divs.w D0, 0x2
00000248 D06E FFDA add.w D0, [A6 - 0x26]
0000024C 906E FFB2 sub.w D0, [A6 - 0x4E]
00000250 3F00 move.w -[A7], D0
00000252 4267 clr.w -[A7]
00000254 A8A8 syscall OffsetRect
00000256 486E FFB8 pea.l [A6 - 0x48]
0000025A 2005 move.l D0, D5
0000025C 48C0 ext.l D0
0000025E 81FC 0002 divs.w D0, 0x2
00000262 D06E FFE2 add.w D0, [A6 - 0x1E]
00000266 906E FFBA sub.w D0, [A6 - 0x46]
0000026A 3F00 move.w -[A7], D0
0000026C 4267 clr.w -[A7]
0000026E A8A8 syscall OffsetRect
label00000270:
00000270 3F2E 001C move.w -[A7], [A6 + 0x1C]
00000274 4EBA 1D20 jsr [PC + 0x1D20 /* 00001F96 */]
00000278 548F addq.l A7, 2
0000027A 5244 addq.w D4, 1
label0000027C:
0000027C 3003 move.w D0, D3
0000027E D040 add.w D0, D0
00000280 2205 move.l D1, D5
00000282 48C1 ext.l D1
00000284 83C0 divs.w D1, D0
00000286 B244 cmp.w D1, D4
00000288 6C00 FEF8 bge -0x106 /* 00000182 */
0000028C 6000 01C4 bra +0x1C6 /* 00000452 */
00000290 3C2E FFDC move.w D6, [A6 - 0x24]
00000294 9C6E FFD8 sub.w D6, [A6 - 0x28]
00000298 302E FFDE move.w D0, [A6 - 0x22]
0000029C 906E FFDA sub.w D0, [A6 - 0x26]
000002A0 3D40 FFEC move.w [A6 - 0x14], D0
000002A4 0C6E 0014 0018 cmpi.w [A6 + 0x18], 0x14
000002AA 6644 bne +0x46 /* 000002F0 */
000002AC 302E FFEC move.w D0, [A6 - 0x14]
000002B0 48C0 ext.l D0
000002B2 81FC 0002 divs.w D0, 0x2
000002B6 D06E FFDA add.w D0, [A6 - 0x26]
000002BA 3E00 move.w D7, D0
000002BC 2006 move.l D0, D6
000002BE 48C0 ext.l D0
000002C0 81FC 0002 divs.w D0, 0x2
000002C4 D06E FFD8 add.w D0, [A6 - 0x28]
000002C8 3D40 FFF4 move.w [A6 - 0xC], D0
000002CC 2206 move.l D1, D6
000002CE 48C1 ext.l D1
000002D0 83FC 0002 divs.w D1, 0x2
000002D4 3F01 move.w -[A7], D1
000002D6 322E FFEC move.w D1, [A6 - 0x14]
000002DA 48C1 ext.l D1
000002DC 83FC 0002 divs.w D1, 0x2
000002E0 3F01 move.w -[A7], D1
000002E2 4EBA 01C2 jsr [PC + 0x1C2 /* 000004A6 */]
000002E6 3D40 FFF2 move.w [A6 - 0xE], D0
000002EA 588F addq.l A7, 4
000002EC 6000 00DA bra +0xDC /* 000003C8 */
label000002F0:
000002F0 0C6E 000D 0018 cmpi.w [A6 + 0x18], 0xD /* '\r' */
000002F6 6630 bne +0x32 /* 00000328 */
000002F8 2006 move.l D0, D6
000002FA 48C0 ext.l D0
000002FC 81FC 0002 divs.w D0, 0x2
00000300 3F00 move.w -[A7], D0
00000302 302E FFEC move.w D0, [A6 - 0x14]
00000306 48C0 ext.l D0
00000308 81FC 0002 divs.w D0, 0x2
0000030C 3F00 move.w -[A7], D0
0000030E 4EBA 0196 jsr [PC + 0x196 /* 000004A6 */]
00000312 D040 add.w D0, D0
00000314 3D40 FFF2 move.w [A6 - 0xE], D0
00000318 3E2E FFDA move.w D7, [A6 - 0x26]
0000031C 3D6E FFD8 FFF4 move.w [A6 - 0xC], [A6 - 0x28]
00000322 588F addq.l A7, 4
00000324 6000 00A2 bra +0xA4 /* 000003C8 */
label00000328:
00000328 0C6E 000E 0018 cmpi.w [A6 + 0x18], 0xE
0000032E 662E bne +0x30 /* 0000035E */
00000330 2006 move.l D0, D6
00000332 48C0 ext.l D0
00000334 81FC 0002 divs.w D0, 0x2
00000338 3F00 move.w -[A7], D0
0000033A 302E FFEC move.w D0, [A6 - 0x14]
0000033E 48C0 ext.l D0
00000340 81FC 0002 divs.w D0, 0x2
00000344 3F00 move.w -[A7], D0
00000346 4EBA 015E jsr [PC + 0x15E /* 000004A6 */]
0000034A D040 add.w D0, D0
0000034C 3D40 FFF2 move.w [A6 - 0xE], D0
00000350 3E2E FFDE move.w D7, [A6 - 0x22]
00000354 3D6E FFD8 FFF4 move.w [A6 - 0xC], [A6 - 0x28]
0000035A 588F addq.l A7, 4
0000035C 606A bra +0x6C /* 000003C8 */
label0000035E:
0000035E 0C6E 000A 0018 cmpi.w [A6 + 0x18], 0xA /* '\n' */
00000364 662E bne +0x30 /* 00000394 */
00000366 2006 move.l D0, D6
00000368 48C0 ext.l D0
0000036A 81FC 0002 divs.w D0, 0x2
0000036E 3F00 move.w -[A7], D0
00000370 302E FFEC move.w D0, [A6 - 0x14]
00000374 48C0 ext.l D0
00000376 81FC 0002 divs.w D0, 0x2
0000037A 3F00 move.w -[A7], D0
0000037C 4EBA 0128 jsr [PC + 0x128 /* 000004A6 */]
00000380 D040 add.w D0, D0
00000382 3D40 FFF2 move.w [A6 - 0xE], D0
00000386 3E2E FFDA move.w D7, [A6 - 0x26]
0000038A 3D6E FFDC FFF4 move.w [A6 - 0xC], [A6 - 0x24]
00000390 588F addq.l A7, 4
00000392 6034 bra +0x36 /* 000003C8 */
label00000394:
00000394 0C6E 000B 0018 cmpi.w [A6 + 0x18], 0xB
0000039A 662C bne +0x2E /* 000003C8 */
0000039C 2006 move.l D0, D6
0000039E 48C0 ext.l D0
000003A0 81FC 0002 divs.w D0, 0x2
000003A4 3F00 move.w -[A7], D0
000003A6 302E FFEC move.w D0, [A6 - 0x14]
000003AA 48C0 ext.l D0
000003AC 81FC 0002 divs.w D0, 0x2
000003B0 3F00 move.w -[A7], D0
000003B2 4EBA 00F2 jsr [PC + 0xF2 /* 000004A6 */]
000003B6 D040 add.w D0, D0
000003B8 3D40 FFF2 move.w [A6 - 0xE], D0
000003BC 3E2E FFDE move.w D7, [A6 - 0x22]
000003C0 3D6E FFDC FFF4 move.w [A6 - 0xC], [A6 - 0x24]
000003C6 588F addq.l A7, 4
label000003C8:
000003C8 42A7 clr.l -[A7]
000003CA A8D8 syscall NewRgn
000003CC 245F movea.l A2, [A7]+
000003CE 7800 moveq.l D4, 0x00
000003D0 6058 bra +0x5A /* 0000042A */
label000003D2:
000003D2 4EBA 00B0 jsr [PC + 0xB0 /* 00000484 */]
000003D6 4A40 tst.w D0
000003D8 6656 bne +0x58 /* 00000430 */
000003DA A8DA syscall OpenRgn
000003DC 302E FFF4 move.w D0, [A6 - 0xC]
000003E0 9044 sub.w D0, D4
000003E2 3D40 FFD0 move.w [A6 - 0x30], D0
000003E6 302E FFF4 move.w D0, [A6 - 0xC]
000003EA D044 add.w D0, D4
000003EC 3D40 FFD4 move.w [A6 - 0x2C], D0
000003F0 3007 move.w D0, D7
000003F2 9044 sub.w D0, D4
000003F4 3D40 FFD2 move.w [A6 - 0x2E], D0
000003F8 3007 move.w D0, D7
000003FA D044 add.w D0, D4
000003FC 3D40 FFD6 move.w [A6 - 0x2A], D0
00000400 486E FFD0 pea.l [A6 - 0x30]
00000404 A8B7 syscall FrameOval
00000406 2F0A move.l -[A7], A2
00000408 A8DB syscall CloseRgn
0000040A 2F0C move.l -[A7], A4
0000040C 2F0B move.l -[A7], A3
0000040E 486E FFE0 pea.l [A6 - 0x20]
00000412 486E FFD8 pea.l [A6 - 0x28]
00000416 3F2E 001E move.w -[A7], [A6 + 0x1E]
0000041A 2F0A move.l -[A7], A2
0000041C A8EC syscall CopyBits
0000041E 3F2E 001C move.w -[A7], [A6 + 0x1C]
00000422 4EBA 1B72 jsr [PC + 0x1B72 /* 00001F96 */]
00000426 548F addq.l A7, 2
00000428 D843 add.w D4, D3
label0000042A:
0000042A B86E FFF2 cmp.w D4, [A6 - 0xE]
0000042E 6DA2 blt -0x5C /* 000003D2 */
label00000430:
00000430 2F0A move.l -[A7], A2
00000432 A8D9 syscall DisposRgn/DisposeRgn
00000434 601C bra +0x1E /* 00000452 */
00000436 4EBA 004C jsr [PC + 0x4C /* 00000484 */]
0000043A 4A40 tst.w D0
0000043C 6614 bne +0x16 /* 00000452 */
0000043E 2F0C move.l -[A7], A4
00000440 2F0B move.l -[A7], A3
00000442 486E FFC8 pea.l [A6 - 0x38]
00000446 486E FFC0 pea.l [A6 - 0x40]
0000044A 3F2E 001E move.w -[A7], [A6 + 0x1E]
0000044E 42A7 clr.l -[A7]
00000450 A8EC syscall CopyBits
label00000452:
00000452 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000456 4E5E unlink A6
00000458 4E75 rts
0000045A FCFA FFF8 .extension 0xCFA <<F/2-3/6>> // unimplemented
0000045E FFF8 .invalid <<F/7/7>>
00000460 FFDC .invalid <<F/7/7>>
00000462 FFF8 .invalid <<F/7/7>>
00000464 FFF8 .invalid <<F/7/7>>
00000466 FFF8 .invalid <<F/7/7>>
00000468 FFF8 .invalid <<F/7/7>>
0000046A FFF8 .invalid <<F/7/7>>
0000046C FFF8 .invalid <<F/7/7>>
0000046E FE36 FE36 .unknown 0xFE36 0xFE36 (W = 7)
00000472 FFF8 .invalid <<F/7/7>>
00000474 FE36 FE36 .unknown 0xFE36 0xFE36 (W = 7)
00000478 FC44 FFF8 .extension 0xC44 <<F/1/6>>, 0xFFF8 // unimplemented
0000047C FFF8 .invalid <<F/7/7>>
0000047E FFF8 .invalid <<F/7/7>>
00000480 FFF8 .invalid <<F/7/7>>
00000482 FE36 4E56 .unknown 0xFE36 0x4E56 (W = 7)
// begin alternate branch 00000484-00000488
fn00000484:
00000484 4E56 FFF0 link A6, -0x0010
// end alternate branch 00000484-00000488
fn00000484: // (misaligned)
00000486 FFF0 .invalid <<F/7/7>>
00000488 7000 moveq.l D0, 0x00
0000048A 6016 bra +0x18 /* 000004A2 */
0000048C 4227 clr.b -[A7]
0000048E 3F3C 0002 move.w -[A7], 0x2
00000492 486E FFF0 pea.l [A6 - 0x10]
00000496 A971 syscall EventAvail
00000498 4A1F tst.b [A7]+
0000049A 6704 beq +0x6 /* 000004A0 */
0000049C 7001 moveq.l D0, 0x01
0000049E 6002 bra +0x4 /* 000004A2 */
label000004A0:
000004A0 7000 moveq.l D0, 0x00
label000004A2:
000004A2 4E5E unlink A6
000004A4 4E75 rts
fn000004A6:
000004A6 4E56 0000 link A6, 0
000004AA 48E7 0300 movem.l -[A7], D6,D7
000004AE 3E2E 0008 move.w D7, [A6 + 0x8]
000004B2 48C7 ext.l D7
000004B4 3C2E 000A move.w D6, [A6 + 0xA]
000004B8 48C6 ext.l D6
000004BA 2F07 move.l -[A7], D7
000004BC 2F07 move.l -[A7], D7
000004BE 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000004C2 2F06 move.l -[A7], D6
000004C4 2F06 move.l -[A7], D6
000004C6 2200 move.l D1, D0
000004C8 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000004CC C141 exg D0, D1
000004CE D081 add.l D0, D1
000004D0 2F00 move.l -[A7], D0
000004D2 4EBA 000C jsr [PC + 0xC /* 000004E0 */]
000004D6 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
000004DC 4E5E unlink A6
000004DE 4E75 rts
fn000004E0:
000004E0 4E56 0000 link A6, 0
000004E4 48E7 0700 movem.l -[A7], D5,D6,D7
000004E8 2E2E 0008 move.l D7, [A6 + 0x8]
000004EC 2C3C 4000 0000 move.l D6, 0x40000000 /* '@\0\0\0' */
000004F2 7A00 moveq.l D5, 0x00
label000004F4:
000004F4 7000 moveq.l D0, 0x00
000004F6 3005 move.w D0, D5
000004F8 D086 add.l D0, D6
000004FA B087 cmp.l D0, D7
000004FC 620E bhi +0x10 /* 0000050C */
000004FE 7000 moveq.l D0, 0x00
00000500 3005 move.w D0, D5
00000502 D086 add.l D0, D6
00000504 9E80 sub.l D7, D0
00000506 E24D lsr D5.w, 1
00000508 DA46 add.w D5, D6
0000050A 6002 bra +0x4 /* 0000050E */
label0000050C:
0000050C E24D lsr D5.w, 1
label0000050E:
0000050E E48E lsr D6, 2
00000510 4A86 tst.l D6
00000512 62E0 bhi -0x1E /* 000004F4 */
00000514 3005 move.w D0, D5
00000516 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000051A 4E5E unlink A6
0000051C 4E75 rts
export_10:
0000051E 4E56 0000 link A6, 0
00000522 48E7 0308 movem.l -[A7], D6,D7,A4
00000526 286E 000A movea.l A4, [A6 + 0xA]
0000052A 302E 0008 move.w D0, [A6 + 0x8]
0000052E 6B00 00FA bmi +0xFC /* 0000062A */
00000532 0440 0016 subi.w D0, 0x16
00000536 674A beq +0x4C /* 00000582 */
00000538 6A0A bpl +0xC /* 00000544 */
0000053A 5440 addq.w D0, 2
0000053C 6710 beq +0x12 /* 0000054E */
0000053E 6A7C bpl +0x7E /* 000005BC */
00000540 6000 00E8 bra +0xEA /* 0000062A */
label00000544:
00000544 5540 subq.w D0, 2
00000546 6A00 00E2 bpl +0xE4 /* 0000062A */
0000054A 6000 00A6 bra +0xA8 /* 000005F2 */
label0000054E:
0000054E 4267 clr.w -[A7]
00000550 2F0C move.l -[A7], A4
00000552 A960 syscall GetControlValue/GetCtlValue
00000554 3E1F move.w D7, [A7]+
00000556 206D E604 movea.l A0, [A5 - 0x19FC]
0000055A 2050 movea.l A0, [A0]
0000055C 3007 move.w D0, D7
0000055E 9068 0018 sub.w D0, [A0 + 0x18]
00000562 4A40 tst.w D0
00000564 6F0E ble +0x10 /* 00000574 */
00000566 206D E604 movea.l A0, [A5 - 0x19FC]
0000056A 2050 movea.l A0, [A0]
0000056C 3007 move.w D0, D7
0000056E 9068 0018 sub.w D0, [A0 + 0x18]
00000572 6002 bra +0x4 /* 00000576 */
label00000574:
00000574 7000 moveq.l D0, 0x00
label00000576:
00000576 3E00 move.w D7, D0
00000578 2F0C move.l -[A7], A4
0000057A 3F07 move.w -[A7], D7
0000057C A963 syscall SetControlValue/SetCtlValue
0000057E 6000 00AA bra +0xAC /* 0000062A */
label00000582:
00000582 4267 clr.w -[A7]
00000584 2F0C move.l -[A7], A4
00000586 A960 syscall GetControlValue/GetCtlValue
00000588 3E1F move.w D7, [A7]+
0000058A 206D E604 movea.l A0, [A5 - 0x19FC]
0000058E 2050 movea.l A0, [A0]
00000590 700A moveq.l D0, 0x0A
00000592 C1E8 0018 muls.w D0, [A0 + 0x18]
00000596 3207 move.w D1, D7
00000598 9240 sub.w D1, D0
0000059A 4A41 tst.w D1
0000059C 6F12 ble +0x14 /* 000005B0 */
0000059E 206D E604 movea.l A0, [A5 - 0x19FC]
000005A2 2050 movea.l A0, [A0]
000005A4 700A moveq.l D0, 0x0A
000005A6 C1E8 0018 muls.w D0, [A0 + 0x18]
000005AA 3207 move.w D1, D7
000005AC 9240 sub.w D1, D0
000005AE 6002 bra +0x4 /* 000005B2 */
label000005B0:
000005B0 7200 moveq.l D1, 0x00
label000005B2:
000005B2 3E01 move.w D7, D1
000005B4 2F0C move.l -[A7], A4
000005B6 3F07 move.w -[A7], D7
000005B8 A963 syscall SetControlValue/SetCtlValue
000005BA 606E bra +0x70 /* 0000062A */
label000005BC:
000005BC 4267 clr.w -[A7]
000005BE 2F0C move.l -[A7], A4
000005C0 A960 syscall GetControlValue/GetCtlValue
000005C2 3E1F move.w D7, [A7]+
000005C4 206D E604 movea.l A0, [A5 - 0x19FC]
000005C8 2050 movea.l A0, [A0]
000005CA 3028 0018 move.w D0, [A0 + 0x18]
000005CE D047 add.w D0, D7
000005D0 B06D E5DC cmp.w D0, [A5 - 0x1A24]
000005D4 6C0E bge +0x10 /* 000005E4 */
000005D6 206D E604 movea.l A0, [A5 - 0x19FC]
000005DA 2050 movea.l A0, [A0]
000005DC 3028 0018 move.w D0, [A0 + 0x18]
000005E0 D047 add.w D0, D7
000005E2 6004 bra +0x6 /* 000005E8 */
label000005E4:
000005E4 302D E5DC move.w D0, [A5 - 0x1A24]
label000005E8:
000005E8 3E00 move.w D7, D0
000005EA 2F0C move.l -[A7], A4
000005EC 3F07 move.w -[A7], D7
000005EE A963 syscall SetControlValue/SetCtlValue
000005F0 6038 bra +0x3A /* 0000062A */
label000005F2:
000005F2 4267 clr.w -[A7]
000005F4 2F0C move.l -[A7], A4
000005F6 A960 syscall GetControlValue/GetCtlValue
000005F8 3E1F move.w D7, [A7]+
000005FA 206D E604 movea.l A0, [A5 - 0x19FC]
000005FE 2050 movea.l A0, [A0]
00000600 700A moveq.l D0, 0x0A
00000602 C1E8 0018 muls.w D0, [A0 + 0x18]
00000606 D047 add.w D0, D7
00000608 B06D E5DC cmp.w D0, [A5 - 0x1A24]
0000060C 6C10 bge +0x12 /* 0000061E */
0000060E 206D E604 movea.l A0, [A5 - 0x19FC]
00000612 2050 movea.l A0, [A0]
00000614 700A moveq.l D0, 0x0A
00000616 C1E8 0018 muls.w D0, [A0 + 0x18]
0000061A D047 add.w D0, D7
0000061C 6004 bra +0x6 /* 00000622 */
label0000061E:
0000061E 302D E5DC move.w D0, [A5 - 0x1A24]
label00000622:
00000622 3E00 move.w D7, D0
00000624 2F0C move.l -[A7], A4
00000626 3F07 move.w -[A7], D7
00000628 A963 syscall SetControlValue/SetCtlValue
label0000062A:
0000062A 4267 clr.w -[A7]
0000062C 2F2D E600 move.l -[A7], [A5 - 0x1A00]
00000630 A960 syscall GetControlValue/GetCtlValue
00000632 3C2D E5D8 move.w D6, [A5 - 0x1A28]
00000636 9C5F sub.w D6, [A7]+
00000638 4267 clr.w -[A7]
0000063A 3F06 move.w -[A7], D6
0000063C 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000640 A9DD syscall TEScroll
00000642 9D6D E5D8 sub.w [A5 - 0x1A28], D6
00000646 4CDF 10C0 movem.l D6,D7,A4, [A7]+
0000064A 4E5E unlink A6
0000064C 205F movea.l A0, [A7]+
0000064E 5C8F addq.l A7, 6
00000650 4ED0 jmp [A0]
export_11:
00000652 4E56 FFE6 link A6, -0x001A
00000656 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000065A 286E 0010 movea.l A4, [A6 + 0x10]
0000065E 266E 000C movea.l A3, [A6 + 0xC]
00000662 3013 move.w D0, [A3]
00000664 6700 02B0 beq +0x2B2 /* 00000916 */
00000668 6B00 02AC bmi +0x2AE /* 00000916 */
0000066C 5740 subq.w D0, 3
0000066E 677C beq +0x7E /* 000006EC */
00000670 6A0A bpl +0xC /* 0000067C */
00000672 5240 addq.w D0, 1
00000674 6A00 02A0 bpl +0x2A2 /* 00000916 */
00000678 6000 00A0 bra +0xA2 /* 0000071A */
label0000067C:
0000067C 5740 subq.w D0, 3
0000067E 6704 beq +0x6 /* 00000684 */
00000680 6000 0294 bra +0x296 /* 00000916 */
label00000684:
00000684 B9EB 0002 cmpa.l A4, [A3 + 0x2]
00000688 6652 bne +0x54 /* 000006DC */
0000068A 3F3C 0001 move.w -[A7], 0x1
0000068E 2F0C move.l -[A7], A4
00000690 4EBA 061C jsr [PC + 0x61C /* 00000CAE */]
00000694 486D E5C4 pea.l [A5 - 0x1A3C]
00000698 A8A1 syscall FrameRect
0000069A 486D E5BC pea.l [A5 - 0x1A44]
0000069E A8A1 syscall FrameRect
000006A0 486D E5CC pea.l [A5 - 0x1A34]
000006A4 A8A3 syscall EraseRect
000006A6 486D E5CC pea.l [A5 - 0x1A34]
000006AA 2F2D E604 move.l -[A7], [A5 - 0x19FC]
000006AE A9D3 syscall TEUpdate
000006B0 3EBC 0003 move.w [A7], 0x3
000006B4 A887 syscall TextFont
000006B6 3EBC 0009 move.w [A7], 0x9 /* '\t' */
000006BA A88A syscall TextSize
000006BC 2F2C 0018 move.l -[A7], [A4 + 0x18]
000006C0 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
000006C4 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000006C8 A9E7 syscall Pack0/ListManager
000006CA 4257 clr.w [A7]
000006CC A887 syscall TextFont
000006CE 3F3C 000C move.w -[A7], 0xC
000006D2 A88A syscall TextSize
000006D4 422E 0014 clr.b [A6 + 0x14]
000006D8 6000 0240 bra +0x242 /* 0000091A */
label000006DC:
000006DC 2F0B move.l -[A7], A3
000006DE 4EBA 0C56 jsr [PC + 0xC56 /* 00001336 */]
000006E2 588F addq.l A7, 4
000006E4 422E 0014 clr.b [A6 + 0x14]
000006E8 6000 0230 bra +0x232 /* 0000091A */
label000006EC:
000006EC 7EFF moveq.l D7, 0xFFFFFFFF
000006EE CE2B 0005 and.b D7, [A3 + 0x5]
000006F2 0C07 000D cmpi.b D7, 0xD /* '\r' */
000006F6 6612 bne +0x14 /* 0000070A */
000006F8 206E 0008 movea.l A0, [A6 + 0x8]
000006FC 30BC 0001 move.w [A0], 0x1
00000700 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000706 6000 0212 bra +0x214 /* 0000091A */
label0000070A:
0000070A 206E 0008 movea.l A0, [A6 + 0x8]
0000070E 30BC 0064 move.w [A0], 0x64 /* 'd' */
00000712 422E 0014 clr.b [A6 + 0x14]
00000716 6000 0202 bra +0x204 /* 0000091A */
label0000071A:
0000071A 2D6B 000A FFFC move.l [A6 - 0x4], [A3 + 0xA]
00000720 486E FFFC pea.l [A6 - 0x4]
00000724 A871 syscall GlobalToLocal
00000726 4267 clr.w -[A7]
00000728 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000072C 2F0C move.l -[A7], A4
0000072E 486E FFE6 pea.l [A6 - 0x1A]
00000732 A96C syscall FindControl
00000734 3C1F move.w D6, [A7]+
00000736 4A46 tst.w D6
00000738 6F00 00AA ble +0xAC /* 000007E4 */
0000073C 202E FFE6 move.l D0, [A6 - 0x1A]
00000740 B0AD E600 cmp.l D0, [A5 - 0x1A00]
00000744 6652 bne +0x54 /* 00000798 */
00000746 0C46 0081 cmpi.w D6, 0x81
0000074A 6630 bne +0x32 /* 0000077C */
0000074C 4267 clr.w -[A7]
0000074E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000752 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000756 42A7 clr.l -[A7]
00000758 A968 syscall TrackControl
0000075A 4A5F tst.w [A7]+
0000075C 6730 beq +0x32 /* 0000078E */
0000075E 4267 clr.w -[A7]
00000760 2F2D E600 move.l -[A7], [A5 - 0x1A00]
00000764 A960 syscall GetControlValue/GetCtlValue
00000766 3A2D E5D8 move.w D5, [A5 - 0x1A28]
0000076A 9A5F sub.w D5, [A7]+
0000076C 4267 clr.w -[A7]
0000076E 3F05 move.w -[A7], D5
00000770 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000774 A9DD syscall TEScroll
00000776 9B6D E5D8 sub.w [A5 - 0x1A28], D5
0000077A 6012 bra +0x14 /* 0000078E */
label0000077C:
0000077C 4267 clr.w -[A7]
0000077E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000782 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000786 486D 0072 pea.l [A5 + 0x72 /* export_10 */]
0000078A A968 syscall TrackControl
0000078C 548F addq.l A7, 2
label0000078E:
0000078E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000794 6000 0184 bra +0x186 /* 0000091A */
label00000798:
00000798 206D E5D4 movea.l A0, [A5 - 0x1A2C]
0000079C 2050 movea.l A0, [A0]
0000079E 202E FFE6 move.l D0, [A6 - 0x1A]
000007A2 B0A8 001C cmp.l D0, [A0 + 0x1C]
000007A6 6634 bne +0x36 /* 000007DC */
000007A8 3F3C 0003 move.w -[A7], 0x3
000007AC A887 syscall TextFont
000007AE 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000007B2 A88A syscall TextSize
000007B4 4227 clr.b -[A7]
000007B6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000007BA 3F2B 000E move.w -[A7], [A3 + 0xE]
000007BE 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
000007C2 3F3C 0018 move.w -[A7], 0x18
000007C6 A9E7 syscall Pack0/ListManager
000007C8 4257 clr.w [A7]
000007CA A887 syscall TextFont
000007CC 3F3C 000C move.w -[A7], 0xC
000007D0 A88A syscall TextSize
000007D2 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000007D8 6000 0140 bra +0x142 /* 0000091A */
label000007DC:
000007DC 422E 0014 clr.b [A6 + 0x14]
000007E0 6000 0138 bra +0x13A /* 0000091A */
label000007E4:
000007E4 4227 clr.b -[A7]
000007E6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000007EA 206D E5D4 movea.l A0, [A5 - 0x1A2C]
000007EE 2F10 move.l -[A7], [A0]
000007F0 A8AD syscall PtInRect
000007F2 4A1F tst.b [A7]+
000007F4 6700 011A beq +0x11C /* 00000910 */
000007F8 4227 clr.b -[A7]
000007FA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000007FE 3F2B 000E move.w -[A7], [A3 + 0xE]
00000802 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
00000806 3F3C 0018 move.w -[A7], 0x18
0000080A A9E7 syscall Pack0/ListManager
0000080C 42AE FFEA clr.l [A6 - 0x16]
00000810 4217 clr.b [A7]
00000812 1F3C 0001 move.b -[A7], 0x1
00000816 486E FFEA pea.l [A6 - 0x16]
0000081A 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
0000081E 3F3C 003C move.w -[A7], 0x3C /* '<' */
00000822 A9E7 syscall Pack0/ListManager
00000824 4A1F tst.b [A7]+
00000826 670A beq +0xC /* 00000832 */
00000828 4267 clr.w -[A7]
0000082A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000082E A86A syscall HiWord
00000830 381F move.w D4, [A7]+
label00000832:
00000832 4A44 tst.w D4
00000834 6D00 00D2 blt +0xD4 /* 00000908 */
00000838 B86D E5E0 cmp.w D4, [A5 - 0x1A20]
0000083C 6700 00CA beq +0xCC /* 00000908 */
00000840 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000844 A9D9 syscall TEDeactivate
00000846 42A7 clr.l -[A7]
00000848 4878 7FFF push.l 0x7FFF
0000084C 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000850 A9D1 syscall TESetSelect
00000852 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000856 A9D7 syscall TEDelete
00000858 B86D E5DE cmp.w D4, [A5 - 0x1A22]
0000085C 6C20 bge +0x22 /* 0000087E */
0000085E 42A7 clr.l -[A7]
00000860 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000866 204D movea.l A0, A5
00000868 D0C4 add.w A0, D4
0000086A D0C4 add.w A0, D4
0000086C 3F28 E5E2 move.w -[A7], [A0 - 0x1A1E]
00000870 A9A0 syscall GetResource
00000872 245F movea.l A2, [A7]+
00000874 42A7 clr.l -[A7]
00000876 2F0A move.l -[A7], A2
00000878 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
0000087A 261F move.l D3, [A7]+
0000087C 6002 bra +0x4 /* 00000880 */
label0000087E:
0000087E 7600 moveq.l D3, 0x00
label00000880:
00000880 4A43 tst.w D3
00000882 6F14 ble +0x16 /* 00000898 */
00000884 204A movea.l A0, A2
00000886 A029 syscall HLock
00000888 2F12 move.l -[A7], [A2]
0000088A 3043 movea.w A0, D3
0000088C 2F08 move.l -[A7], A0
0000088E 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000892 A9DE syscall TEInsert
00000894 204A movea.l A0, A2
00000896 A02A syscall HUnlock
label00000898:
00000898 2F2D E600 move.l -[A7], [A5 - 0x1A00]
0000089C 4267 clr.w -[A7]
0000089E A963 syscall SetControlValue/SetCtlValue
000008A0 4267 clr.w -[A7]
000008A2 2F2D E600 move.l -[A7], [A5 - 0x1A00]
000008A6 A960 syscall GetControlValue/GetCtlValue
000008A8 3A2D E5D8 move.w D5, [A5 - 0x1A28]
000008AC 9A5F sub.w D5, [A7]+
000008AE 4267 clr.w -[A7]
000008B0 3F05 move.w -[A7], D5
000008B2 2F2D E604 move.l -[A7], [A5 - 0x19FC]
000008B6 A9DD syscall TEScroll
000008B8 9B6D E5D8 sub.w [A5 - 0x1A28], D5
000008BC 206D E604 movea.l A0, [A5 - 0x19FC]
000008C0 2050 movea.l A0, [A0]
000008C2 3028 005E move.w D0, [A0 + 0x5E]
000008C6 B06D E5DA cmp.w D0, [A5 - 0x1A26]
000008CA 6F2E ble +0x30 /* 000008FA */
000008CC 2F2D E600 move.l -[A7], [A5 - 0x1A00]
000008D0 4267 clr.w -[A7]
000008D2 A95D syscall HiliteControl
000008D4 206D E604 movea.l A0, [A5 - 0x19FC]
000008D8 2050 movea.l A0, [A0]
000008DA 3028 005E move.w D0, [A0 + 0x5E]
000008DE 906D E5DA sub.w D0, [A5 - 0x1A26]
000008E2 206D E604 movea.l A0, [A5 - 0x19FC]
000008E6 2050 movea.l A0, [A0]
000008E8 C1E8 0018 muls.w D0, [A0 + 0x18]
000008EC 3B40 E5DC move.w [A5 - 0x1A24], D0
000008F0 2F2D E600 move.l -[A7], [A5 - 0x1A00]
000008F4 3F00 move.w -[A7], D0
000008F6 A965 syscall SetControlMaximum/SetMaxCtl
000008F8 600A bra +0xC /* 00000904 */
label000008FA:
000008FA 2F2D E600 move.l -[A7], [A5 - 0x1A00]
000008FE 3F3C 00FF move.w -[A7], 0xFF
00000902 A95D syscall HiliteControl
label00000904:
00000904 3B44 E5E0 move.w [A5 - 0x1A20], D4
label00000908:
00000908 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
0000090E 600A bra +0xC /* 0000091A */
label00000910:
00000910 422E 0014 clr.b [A6 + 0x14]
00000914 6004 bra +0x6 /* 0000091A */
label00000916:
00000916 422E 0014 clr.b [A6 + 0x14]
label0000091A:
0000091A 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000091E 4E5E unlink A6
00000920 205F movea.l A0, [A7]+
00000922 4FEF 000C lea.l A7, [A7 + 0xC]
00000926 4ED0 jmp [A0]
fn00000928:
00000928 4E56 FFDA link A6, -0x0026
0000092C 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00000930 3E3C 1388 move.w D7, 0x1388
00000934 7A01 moveq.l D5, 0x01
00000936 A850 syscall InitCursor
00000938 486E FFEA pea.l [A6 - 0x16]
0000093C A874 syscall GetPort
0000093E 42A7 clr.l -[A7]
00000940 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00000946 3F07 move.w -[A7], D7
00000948 A9A0 syscall GetResource
0000094A 285F movea.l A4, [A7]+
0000094C 2F0C move.l -[A7], A4
0000094E A9A2 syscall LoadResource
00000950 204C movea.l A0, A4
00000952 A04A syscall HNoPurge
00000954 264C movea.l A3, A4
00000956 2C13 move.l D6, [A3]
00000958 486D F960 pea.l [A5 - 0x6A0]
0000095C 2F06 move.l -[A7], D6
0000095E 4EBA 2DA2 jsr [PC + 0x2DA2 /* 00003702 */]
00000962 4297 clr.l [A7]
00000964 3F07 move.w -[A7], D7
00000966 42A7 clr.l -[A7]
00000968 4878 FFFF push.l 0xFFFF
0000096C A97C syscall GetNewDialog
0000096E 245F movea.l A2, [A7]+
00000970 2E8A move.l [A7], A2
00000972 A915 syscall ShowWindow
00000974 2F0A move.l -[A7], A2
00000976 A91F syscall SelectWindow
00000978 2F0A move.l -[A7], A2
0000097A A873 syscall SetPort
0000097C 42A7 clr.l -[A7]
0000097E 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000984 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000988 A9A0 syscall GetResource
0000098A 281F move.l D4, [A7]+
0000098C 2044 movea.l A0, D4
0000098E 2050 movea.l A0, [A0]
00000990 3B50 E5DE move.w [A5 - 0x1A22], [A0]
00000994 2F0A move.l -[A7], A2
00000996 3F3C 0003 move.w -[A7], 0x3
0000099A 486E FFFE pea.l [A6 - 0x2]
0000099E 486E FFF6 pea.l [A6 - 0xA]
000009A2 486D E5C4 pea.l [A5 - 0x1A3C]
000009A6 A98D syscall GetDialogItem/GetDItem
000009A8 046D 000F E5CA subi.w [A5 - 0x1A36], 0xF
000009AE 486E FFDA pea.l [A6 - 0x26]
000009B2 42A7 clr.l -[A7]
000009B4 3F3C 0001 move.w -[A7], 0x1
000009B8 3F2D E5DE move.w -[A7], [A5 - 0x1A22]
000009BC A8A7 syscall SetRect
000009BE 486E FFE2 pea.l [A6 - 0x1E]
000009C2 302D E5CA move.w D0, [A5 - 0x1A36]
000009C6 906D E5C6 sub.w D0, [A5 - 0x1A3A]
000009CA 3F00 move.w -[A7], D0
000009CC 3F3C 0010 move.w -[A7], 0x10
000009D0 A880 syscall SetPt
000009D2 42A7 clr.l -[A7]
000009D4 486D E5C4 pea.l [A5 - 0x1A3C]
000009D8 486E FFDA pea.l [A6 - 0x26]
000009DC 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
000009E0 4267 clr.w -[A7]
000009E2 2F0A move.l -[A7], A2
000009E4 42A7 clr.l -[A7]
000009E6 2F3C 0100 0000 move.l -[A7], 0x1000000
000009EC 3F3C 0044 move.w -[A7], 0x44 /* 'D' */
000009F0 A9E7 syscall Pack0/ListManager
000009F2 2B5F E5D4 move.l [A5 - 0x1A2C], [A7]+
000009F6 206D E5D4 movea.l A0, [A5 - 0x1A2C]
000009FA 2050 movea.l A0, [A0]
000009FC 117C 0080 0024 move.b [A0 + 0x24], 0x80
00000A02 486D E5C4 pea.l [A5 - 0x1A3C]
00000A06 4878 FFFF push.l 0xFFFF
00000A0A A8A9 syscall InsetRect
00000A0C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000A10 486D E5E2 pea.l [A5 - 0x1A1E]
00000A14 3F2D E5DE move.w -[A7], [A5 - 0x1A22]
00000A18 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
00000A1C 4EBA 0048 jsr [PC + 0x48 /* 00000A66 */]
00000A20 486D E5E2 pea.l [A5 - 0x1A1E]
00000A24 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
00000A28 2F0A move.l -[A7], A2
00000A2A 4EBA 00E0 jsr [PC + 0xE0 /* 00000B0C */]
00000A2E 4A40 tst.w D0
00000A30 4FEF 0018 lea.l A7, [A7 + 0x18]
00000A34 6606 bne +0x8 /* 00000A3C */
00000A36 3F3C 0002 move.w -[A7], 0x2
00000A3A A9C8 syscall SysBeep
label00000A3C:
00000A3C 2F0C move.l -[A7], A4
00000A3E A9A3 syscall ReleaseResource
00000A40 2F0A move.l -[A7], A2
00000A42 A916 syscall HideWindow
00000A44 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000A48 A9CD syscall TEDispose
00000A4A 2F2D E5D4 move.l -[A7], [A5 - 0x1A2C]
00000A4E 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00000A52 A9E7 syscall Pack0/ListManager
00000A54 2F0A move.l -[A7], A2
00000A56 A983 syscall DisposeDialog
00000A58 2F2E FFEA move.l -[A7], [A6 - 0x16]
00000A5C A873 syscall SetPort
00000A5E 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
00000A62 4E5E unlink A6
00000A64 4E75 rts
fn00000A66:
00000A66 4E56 FEFC link A6, -0x0104
00000A6A 48E7 0118 movem.l -[A7], D7,A3,A4
00000A6E 286E 0008 movea.l A4, [A6 + 0x8]
00000A72 7E00 moveq.l D7, 0x00
00000A74 6064 bra +0x66 /* 00000ADA */
label00000A76:
00000A76 486E FF00 pea.l [A6 - 0x100]
00000A7A 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000A7E 7001 moveq.l D0, 0x01
00000A80 D047 add.w D0, D7
00000A82 3F00 move.w -[A7], D0
00000A84 4EBA 3704 jsr [PC + 0x3704 /* 0000418A */]
00000A88 486E FF00 pea.l [A6 - 0x100]
00000A8C 4EBA 31BC jsr [PC + 0x31BC /* 00003C4A */]
00000A90 3EBC 005C move.w [A7], 0x5C /* '\\' */
00000A94 486E FF00 pea.l [A6 - 0x100]
00000A98 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
00000A9C 2640 movea.l A3, D0
00000A9E 421B clr.b [A3]+
00000AA0 2E8B move.l [A7], A3
00000AA2 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00000AA6 206E 000E movea.l A0, [A6 + 0xE]
00000AAA D0C7 add.w A0, D7
00000AAC 3180 7000 move.w [A0 + D7.w], D0
00000AB0 486E FEFC pea.l [A6 - 0x104]
00000AB4 4267 clr.w -[A7]
00000AB6 3F07 move.w -[A7], D7
00000AB8 A880 syscall SetPt
00000ABA 486E FF00 pea.l [A6 - 0x100]
00000ABE 486E FF00 pea.l [A6 - 0x100]
00000AC2 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00000AC6 548F addq.l A7, 2
00000AC8 3E80 move.w [A7], D0
00000ACA 2F2E FEFC move.l -[A7], [A6 - 0x104]
00000ACE 2F0C move.l -[A7], A4
00000AD0 3F3C 0058 move.w -[A7], 0x58 /* 'X' */
00000AD4 A9E7 syscall Pack0/ListManager
00000AD6 508F addq.l A7, 8
00000AD8 5247 addq.w D7, 1
label00000ADA:
00000ADA BE6E 000C cmp.w D7, [A6 + 0xC]
00000ADE 6D96 blt -0x68 /* 00000A76 */
00000AE0 486E FEFC pea.l [A6 - 0x104]
00000AE4 42A7 clr.l -[A7]
00000AE6 A880 syscall SetPt
00000AE8 1F3C 0001 move.b -[A7], 0x1
00000AEC 2F2E FEFC move.l -[A7], [A6 - 0x104]
00000AF0 2F0C move.l -[A7], A4
00000AF2 3F3C 005C move.w -[A7], 0x5C /* '\\' */
00000AF6 A9E7 syscall Pack0/ListManager
00000AF8 1F3C 0001 move.b -[A7], 0x1
00000AFC 2F0C move.l -[A7], A4
00000AFE 3F3C 002C move.w -[A7], 0x2C /* ',' */
00000B02 A9E7 syscall Pack0/ListManager
00000B04 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000B08 4E5E unlink A6
00000B0A 4E75 rts
fn00000B0C:
00000B0C 4E56 FFE2 link A6, -0x001E
00000B10 48E7 0308 movem.l -[A7], D6,D7,A4
00000B14 7E00 moveq.l D7, 0x00
00000B16 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B1A 3F3C 0002 move.w -[A7], 0x2
00000B1E 486E FFF8 pea.l [A6 - 0x8]
00000B22 486E FFF4 pea.l [A6 - 0xC]
00000B26 486D E5BC pea.l [A5 - 0x1A44]
00000B2A A98D syscall GetDialogItem/GetDItem
00000B2C 046D 0010 E5C2 subi.w [A5 - 0x1A3E], 0x10
00000B32 700F moveq.l D0, 0x0F
00000B34 D06D E5C2 add.w D0, [A5 - 0x1A3E]
00000B38 3D40 FFF0 move.w [A6 - 0x10], D0
00000B3C 70FF moveq.l D0, 0xFFFFFFFF
00000B3E D06D E5C2 add.w D0, [A5 - 0x1A3E]
00000B42 3D40 FFEC move.w [A6 - 0x14], D0
00000B46 3D6D E5BC FFEA move.w [A6 - 0x16], [A5 - 0x1A44]
00000B4C 3D6D E5C0 FFEE move.w [A6 - 0x12], [A5 - 0x1A40]
00000B52 42A7 clr.l -[A7]
00000B54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B58 486E FFEA pea.l [A6 - 0x16]
00000B5C 486D E608 pea.l [A5 - 0x19F8]
00000B60 4878 0100 push.l 0x100
00000B64 42A7 clr.l -[A7]
00000B66 3F3C 0010 move.w -[A7], 0x10
00000B6A 42A7 clr.l -[A7]
00000B6C A954 syscall NewControl
00000B6E 2B5F E600 move.l [A5 - 0x1A00], [A7]+
00000B72 2F2D E600 move.l -[A7], [A5 - 0x1A00]
00000B76 3F3C 00FF move.w -[A7], 0xFF
00000B7A A95D syscall HiliteControl
00000B7C 7003 moveq.l D0, 0x03
00000B7E D06D E5BC add.w D0, [A5 - 0x1A44]
00000B82 3D40 FFE2 move.w [A6 - 0x1E], D0
00000B86 7003 moveq.l D0, 0x03
00000B88 D06D E5BE add.w D0, [A5 - 0x1A42]
00000B8C 3D40 FFE4 move.w [A6 - 0x1C], D0
00000B90 70FD moveq.l D0, 0xFFFFFFFD
00000B92 D06D E5C2 add.w D0, [A5 - 0x1A3E]
00000B96 3D40 FFE8 move.w [A6 - 0x18], D0
00000B9A 3D7C 4E20 FFE6 move.w [A6 - 0x1A], 0x4E20 /* 'N ' */
00000BA0 2B6D E5BC E5CC move.l [A5 - 0x1A34], [A5 - 0x1A44]
00000BA6 2B6D E5C0 E5D0 move.l [A5 - 0x1A30], [A5 - 0x1A40]
00000BAC 486D E5CC pea.l [A5 - 0x1A34]
00000BB0 2F3C 0001 0001 move.l -[A7], 0x10001
00000BB6 A8A9 syscall InsetRect
00000BB8 42A7 clr.l -[A7]
00000BBA 486E FFE2 pea.l [A6 - 0x1E]
00000BBE 486D E5CC pea.l [A5 - 0x1A34]
00000BC2 A9D2 syscall TENew
00000BC4 2B5F E604 move.l [A5 - 0x19FC], [A7]+
00000BC8 206D E604 movea.l A0, [A5 - 0x19FC]
00000BCC 2050 movea.l A0, [A0]
00000BCE 317C 0003 004A move.w [A0 + 0x4A], 0x3
00000BD4 206D E604 movea.l A0, [A5 - 0x19FC]
00000BD8 2050 movea.l A0, [A0]
00000BDA 317C 000A 0050 move.w [A0 + 0x50], 0xA /* '\n' */
00000BE0 426D E5E0 clr.w [A5 - 0x1A20]
00000BE4 426D E5D8 clr.w [A5 - 0x1A28]
00000BE8 206D E604 movea.l A0, [A5 - 0x19FC]
00000BEC 2050 movea.l A0, [A0]
00000BEE 302D E5D0 move.w D0, [A5 - 0x1A30]
00000BF2 906D E5CC sub.w D0, [A5 - 0x1A34]
00000BF6 48C0 ext.l D0
00000BF8 81E8 0018 divs.w D0, [A0 + 0x18]
00000BFC 3B40 E5DA move.w [A5 - 0x1A26], D0
00000C00 42A7 clr.l -[A7]
00000C02 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00000C08 206E 0010 movea.l A0, [A6 + 0x10]
00000C0C 3F10 move.w -[A7], [A0]
00000C0E A9A0 syscall GetResource
00000C10 285F movea.l A4, [A7]+
00000C12 200C move.l D0, A4
00000C14 6606 bne +0x8 /* 00000C1C */
00000C16 3F3C 0002 move.w -[A7], 0x2
00000C1A A9C8 syscall SysBeep
label00000C1C:
00000C1C 42A7 clr.l -[A7]
00000C1E 2F0C move.l -[A7], A4
00000C20 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
00000C22 2C1F move.l D6, [A7]+
00000C24 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000C28 A9D9 syscall TEDeactivate
00000C2A 4878 7FFF push.l 0x7FFF
00000C2E 4878 7FFF push.l 0x7FFF
00000C32 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000C36 A9D1 syscall TESetSelect
00000C38 204C movea.l A0, A4
00000C3A A029 syscall HLock
00000C3C 2F14 move.l -[A7], [A4]
00000C3E 3046 movea.w A0, D6
00000C40 2F08 move.l -[A7], A0
00000C42 2F2D E604 move.l -[A7], [A5 - 0x19FC]
00000C46 A9DE syscall TEInsert
00000C48 204C movea.l A0, A4
00000C4A A02A syscall HUnlock
00000C4C 206D E604 movea.l A0, [A5 - 0x19FC]
00000C50 2050 movea.l A0, [A0]
00000C52 3028 005E move.w D0, [A0 + 0x5E]
00000C56 B06D E5DA cmp.w D0, [A5 - 0x1A26]
00000C5A 6F46 ble +0x48 /* 00000CA2 */
00000C5C 2F2D E600 move.l -[A7], [A5 - 0x1A00]
00000C60 4267 clr.w -[A7]
00000C62 A95D syscall HiliteControl
00000C64 206D E604 movea.l A0, [A5 - 0x19FC]
00000C68 2050 movea.l A0, [A0]
00000C6A 3028 005E move.w D0, [A0 + 0x5E]
00000C6E 906D E5DA sub.w D0, [A5 - 0x1A26]
00000C72 206D E604 movea.l A0, [A5 - 0x19FC]
00000C76 2050 movea.l A0, [A0]
00000C78 C1E8 0018 muls.w D0, [A0 + 0x18]
00000C7C 3B40 E5DC move.w [A5 - 0x1A24], D0
00000C80 2F2D E600 move.l -[A7], [A5 - 0x1A00]
00000C84 3F00 move.w -[A7], D0
00000C86 A965 syscall SetControlMaximum/SetMaxCtl
00000C88 6018 bra +0x1A /* 00000CA2 */
label00000C8A:
00000C8A 486D 007A pea.l [A5 + 0x7A /* export_11 */]
00000C8E 486E FFFA pea.l [A6 - 0x6]
00000C92 A991 syscall ModalDialog
00000C94 302E FFFA move.w D0, [A6 - 0x6]
00000C98 6708 beq +0xA /* 00000CA2 */
00000C9A 6B06 bmi +0x8 /* 00000CA2 */
00000C9C 5540 subq.w D0, 2
00000C9E 6A02 bpl +0x4 /* 00000CA2 */
00000CA0 7E01 moveq.l D7, 0x01
label00000CA2:
00000CA2 4A07 tst.b D7
00000CA4 67E4 beq -0x1A /* 00000C8A */
00000CA6 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000CAA 4E5E unlink A6
00000CAC 4E75 rts
fn00000CAE:
00000CAE 4E56 FFEE link A6, -0x0012
00000CB2 486E FFFC pea.l [A6 - 0x4]
00000CB6 A874 syscall GetPort
00000CB8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CBC A873 syscall SetPort
00000CBE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000CC2 3F2E 000C move.w -[A7], [A6 + 0xC]
00000CC6 486E FFF6 pea.l [A6 - 0xA]
00000CCA 486E FFF8 pea.l [A6 - 0x8]
00000CCE 486E FFEE pea.l [A6 - 0x12]
00000CD2 A98D syscall GetDialogItem/GetDItem
00000CD4 486E FFEE pea.l [A6 - 0x12]
00000CD8 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00000CDE A8A9 syscall InsetRect
00000CE0 2F3C 0003 0003 move.l -[A7], 0x30003
00000CE6 A89B syscall PenSize
00000CE8 486E FFEE pea.l [A6 - 0x12]
00000CEC 2F3C 0010 0010 move.l -[A7], 0x100010
00000CF2 A8B0 syscall FrameRoundRect
00000CF4 A89E syscall PenNormal
00000CF6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000CFA A873 syscall SetPort
00000CFC 4E5E unlink A6
00000CFE 4E75 rts
export_22:
00000D00 A9F4 syscall ExitToShell
00000D02 4E75 rts
export_23:
00000D04 4E56 FFBE link A6, -0x0042
00000D08 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00000D0C A063 syscall MaxApplZone
00000D0E 7C00 moveq.l D6, 0x00
00000D10 6004 bra +0x6 /* 00000D16 */
label00000D12:
00000D12 A036 syscall MoreMasters
00000D14 5246 addq.w D6, 1
label00000D16:
00000D16 0C46 000A cmpi.w D6, 0xA /* '\n' */
00000D1A 6DF6 blt -0x8 /* 00000D12 */
00000D1C 486D F9D4 pea.l [A5 - 0x62C]
00000D20 A86E syscall InitGraf
00000D22 A8FE syscall InitFonts
00000D24 A912 syscall InitWindows
00000D26 A930 syscall InitMenus
00000D28 A9CC syscall TEInit
00000D2A 486D 00D2 pea.l [A5 + 0xD2 /* export_22 */]
00000D2E A97B syscall InitDialogs
00000D30 4EBA 0896 jsr [PC + 0x896 /* 000015C8 */]
00000D34 4A40 tst.w D0
00000D36 6700 05A8 beq +0x5AA /* 000012E0 */
00000D3A 4EBA 080E jsr [PC + 0x80E /* 0000154A */]
00000D3E 4EBA 083C jsr [PC + 0x83C /* 0000157C */]
00000D42 1B40 E847 move.b [A5 - 0x17B9], D0
00000D46 486D F9D4 pea.l [A5 - 0x62C]
00000D4A A874 syscall GetPort
00000D4C 4EBA 225C jsr [PC + 0x225C /* 00002FAA */]
00000D50 486D F968 pea.l [A5 - 0x698]
00000D54 A851 syscall SetCursor
00000D56 4EBA 0CA6 jsr [PC + 0xCA6 /* 000019FE */]
00000D5A 486E FFC2 pea.l [A6 - 0x3E]
00000D5E 486E FFC4 pea.l [A6 - 0x3C]
00000D62 4EBA 250E jsr [PC + 0x250E /* 00003272 */]
00000D66 486E FFD6 pea.l [A6 - 0x2A]
00000D6A 7017 moveq.l D0, 0x17
00000D6C D06E FFC4 add.w D0, [A6 - 0x3C]
00000D70 3F00 move.w -[A7], D0
00000D72 7016 moveq.l D0, 0x16
00000D74 D06E FFC2 add.w D0, [A6 - 0x3E]
00000D78 3F00 move.w -[A7], D0
00000D7A 302E FFC4 move.w D0, [A6 - 0x3C]
00000D7E 0640 01E8 addi.w D0, 0x1E8
00000D82 3F00 move.w -[A7], D0
00000D84 302E FFC2 move.w D0, [A6 - 0x3E]
00000D88 0640 014C addi.w D0, 0x14C
00000D8C 3F00 move.w -[A7], D0
00000D8E A8A7 syscall SetRect
00000D90 4297 clr.l [A7]
00000D92 486D E7AA pea.l [A5 - 0x1856]
00000D96 486E FFD6 pea.l [A6 - 0x2A]
00000D9A 486D E852 pea.l [A5 - 0x17AE]
00000D9E 2F3C 0002 0100 move.l -[A7], 0x20100
00000DA4 4878 FFFF push.l 0xFFFF
00000DA8 4227 clr.b -[A7]
00000DAA 42A7 clr.l -[A7]
00000DAC A913 syscall NewWindow
00000DAE 2B5F E792 move.l [A5 - 0x186E], [A7]+
00000DB2 2EAD E792 move.l [A7], [A5 - 0x186E]
00000DB6 A873 syscall SetPort
00000DB8 206D E792 movea.l A0, [A5 - 0x186E]
00000DBC 2B68 0010 E692 move.l [A5 - 0x196E], [A0 + 0x10]
00000DC2 2B68 0014 E696 move.l [A5 - 0x196A], [A0 + 0x14]
00000DC8 3B7C 00C6 E696 move.w [A5 - 0x196A], 0xC6
00000DCE 2B68 0010 E69A move.l [A5 - 0x1966], [A0 + 0x10]
00000DD4 2B68 0014 E69E move.l [A5 - 0x1962], [A0 + 0x14]
00000DDA 3B6D E696 E69A move.w [A5 - 0x1966], [A5 - 0x196A]
00000DE0 486D E68A pea.l [A5 - 0x1976]
00000DE4 42A7 clr.l -[A7]
00000DE6 2F3C 000C 00C8 move.l -[A7], 0xC00C8
00000DEC A8A7 syscall SetRect
00000DEE 486D E68A pea.l [A5 - 0x1976]
00000DF2 302D E690 move.w D0, [A5 - 0x1970]
00000DF6 906D E68C sub.w D0, [A5 - 0x1974]
00000DFA 322D E698 move.w D1, [A5 - 0x1968]
00000DFE 926D E694 sub.w D1, [A5 - 0x196C]
00000E02 9240 sub.w D1, D0
00000E04 48C1 ext.l D1
00000E06 83FC 0002 divs.w D1, 0x2
00000E0A 3F01 move.w -[A7], D1
00000E0C 3F3C 00B8 move.w -[A7], 0xB8
00000E10 A8A8 syscall OffsetRect
00000E12 2D6D E692 FFDE move.l [A6 - 0x22], [A5 - 0x196E]
00000E18 2D6D E696 FFE2 move.l [A6 - 0x1E], [A5 - 0x196A]
00000E1E 486D E772 pea.l [A5 - 0x188E]
00000E22 42A7 clr.l -[A7]
00000E24 2F3C 0009 0009 move.l -[A7], 0x90009 /* '\t\0\t' */
00000E2A A8A7 syscall SetRect
00000E2C 2B6D E772 E78A move.l [A5 - 0x1876], [A5 - 0x188E]
00000E32 2B6D E776 E78E move.l [A5 - 0x1872], [A5 - 0x188A]
00000E38 2B6D E78A E782 move.l [A5 - 0x187E], [A5 - 0x1876]
00000E3E 2B6D E78E E786 move.l [A5 - 0x187A], [A5 - 0x1872]
00000E44 2B6D E782 E77A move.l [A5 - 0x1886], [A5 - 0x187E]
00000E4A 2B6D E786 E77E move.l [A5 - 0x1882], [A5 - 0x187A]
00000E50 486D E772 pea.l [A5 - 0x188E]
00000E54 7004 moveq.l D0, 0x04
00000E56 D06E FFE0 add.w D0, [A6 - 0x20]
00000E5A 3F00 move.w -[A7], D0
00000E5C 7004 moveq.l D0, 0x04
00000E5E D06E FFDE add.w D0, [A6 - 0x22]
00000E62 3F00 move.w -[A7], D0
00000E64 A8A8 syscall OffsetRect
00000E66 486D E77A pea.l [A5 - 0x1886]
00000E6A 7004 moveq.l D0, 0x04
00000E6C D06E FFE0 add.w D0, [A6 - 0x20]
00000E70 3F00 move.w -[A7], D0
00000E72 70F3 moveq.l D0, 0xFFFFFFF3
00000E74 D06E FFE2 add.w D0, [A6 - 0x1E]
00000E78 3F00 move.w -[A7], D0
00000E7A A8A8 syscall OffsetRect
00000E7C 486D E782 pea.l [A5 - 0x187E]
00000E80 70F3 moveq.l D0, 0xFFFFFFF3
00000E82 D06E FFE4 add.w D0, [A6 - 0x1C]
00000E86 3F00 move.w -[A7], D0
00000E88 7004 moveq.l D0, 0x04
00000E8A D06E FFDE add.w D0, [A6 - 0x22]
00000E8E 3F00 move.w -[A7], D0
00000E90 A8A8 syscall OffsetRect
00000E92 486D E78A pea.l [A5 - 0x1876]
00000E96 70F3 moveq.l D0, 0xFFFFFFF3
00000E98 D06E FFE4 add.w D0, [A6 - 0x1C]
00000E9C 3F00 move.w -[A7], D0
00000E9E 70F3 moveq.l D0, 0xFFFFFFF3
00000EA0 D06E FFE2 add.w D0, [A6 - 0x1E]
00000EA4 3F00 move.w -[A7], D0
00000EA6 A8A8 syscall OffsetRect
00000EA8 7002 moveq.l D0, 0x02
00000EAA D06D E696 add.w D0, [A5 - 0x196A]
00000EAE 3B40 E682 move.w [A5 - 0x197E], D0
00000EB2 7002 moveq.l D0, 0x02
00000EB4 D06D E694 add.w D0, [A5 - 0x196C]
00000EB8 3B40 E684 move.w [A5 - 0x197C], D0
00000EBC 7021 moveq.l D0, 0x21
00000EBE D06D E682 add.w D0, [A5 - 0x197E]
00000EC2 3B40 E686 move.w [A5 - 0x197A], D0
00000EC6 70FE moveq.l D0, 0xFFFFFFFE
00000EC8 D06D E698 add.w D0, [A5 - 0x1968]
00000ECC 3B40 E688 move.w [A5 - 0x1978], D0
00000ED0 4EBA 19E0 jsr [PC + 0x19E0 /* 000028B2 */]
00000ED4 4EBA 2C72 jsr [PC + 0x2C72 /* 00003B48 */]
00000ED8 4EBA 04D8 jsr [PC + 0x4D8 /* 000013B2 */]
00000EDC 4EBA 0C6A jsr [PC + 0xC6A /* 00001B48 */]
00000EE0 4EBA 08A4 jsr [PC + 0x8A4 /* 00001786 */]
00000EE4 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000EEA 201F move.l D0, [A7]+
00000EEC A032 syscall FlushEvents
label00000EEE:
00000EEE 4A2D E846 tst.b [A5 - 0x17BA]
00000EF2 6716 beq +0x18 /* 00000F0A */
00000EF4 4227 clr.b -[A7]
00000EF6 3F3C FFFF move.w -[A7], 0xFFFF
00000EFA 486E FFF0 pea.l [A6 - 0x10]
00000EFE 4878 0031 push.l 0x31 /* '1' */
00000F02 42A7 clr.l -[A7]
00000F04 A860 syscall WaitNextEvent
00000F06 548F addq.l A7, 2
00000F08 6012 bra +0x14 /* 00000F1C */
label00000F0A:
00000F0A A9B4 syscall SystemTask
00000F0C 4227 clr.b -[A7]
00000F0E 3F3C FFFF move.w -[A7], 0xFFFF
00000F12 486E FFF0 pea.l [A6 - 0x10]
00000F16 A970 syscall GetNextEvent
00000F18 1D5F FFBF move.b [A6 - 0x41], [A7]+
label00000F1C:
00000F1C 4A2D E846 tst.b [A5 - 0x17BA]
00000F20 6608 bne +0xA /* 00000F2A */
00000F22 4A2E FFBF tst.b [A6 - 0x41]
00000F26 6700 03A4 beq +0x3A6 /* 000012CC */
label00000F2A:
00000F2A 4A2D E846 tst.b [A5 - 0x17BA]
00000F2E 6702 beq +0x4 /* 00000F32 */
00000F30 A850 syscall InitCursor
label00000F32:
00000F32 302E FFF0 move.w D0, [A6 - 0x10]
00000F36 0C40 000F cmpi.w D0, 0xF
00000F3A 6200 0390 bhi +0x392 /* 000012CC */
00000F3E 43FA 03A8 lea.l A1, [PC + 0x3A8 /* 000012E8, value 0xFFE4FC62 */]
00000F42 D040 add.w D0, D0
00000F44 D2F1 0000 add.w A1, [A1 + D0.w]
00000F48 4ED1 jmp [A1]
00000F4A 4267 clr.w -[A7]
00000F4C 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000F50 486E FFE8 pea.l [A6 - 0x18]
00000F54 A92C syscall FindWindow
00000F56 3A1F move.w D5, [A7]+
00000F58 3005 move.w D0, D5
00000F5A 6700 0370 beq +0x372 /* 000012CC */
00000F5E 6B00 036C bmi +0x36E /* 000012CC */
00000F62 5740 subq.w D0, 3
00000F64 6728 beq +0x2A /* 00000F8E */
00000F66 6A00 0364 bpl +0x366 /* 000012CC */
00000F6A 5240 addq.w D0, 1
00000F6C 6A12 bpl +0x14 /* 00000F80 */
00000F6E 42A7 clr.l -[A7]
00000F70 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000F74 A93D syscall MenuSelect
00000F76 4EBA 2138 jsr [PC + 0x2138 /* 000030B0 */]
00000F7A 588F addq.l A7, 4
00000F7C 6000 034E bra +0x350 /* 000012CC */
label00000F80:
00000F80 486E FFF0 pea.l [A6 - 0x10]
00000F84 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000F88 A9B3 syscall SystemClick
00000F8A 6000 0340 bra +0x342 /* 000012CC */
label00000F8E:
00000F8E 42A7 clr.l -[A7]
00000F90 A924 syscall FrontWindow
00000F92 201F move.l D0, [A7]+
00000F94 B0AE FFE8 cmp.l D0, [A6 - 0x18]
00000F98 670A beq +0xC /* 00000FA4 */
00000F9A 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000F9E A91F syscall SelectWindow
00000FA0 6000 032A bra +0x32C /* 000012CC */
label00000FA4:
00000FA4 202E FFE8 move.l D0, [A6 - 0x18]
00000FA8 B0AD E792 cmp.l D0, [A5 - 0x186E]
00000FAC 6600 031E bne +0x320 /* 000012CC */
00000FB0 486E FFEC pea.l [A6 - 0x14]
00000FB4 A874 syscall GetPort
00000FB6 2F2D E792 move.l -[A7], [A5 - 0x186E]
00000FBA A873 syscall SetPort
00000FBC 486E FFFA pea.l [A6 - 0x6]
00000FC0 A871 syscall GlobalToLocal
00000FC2 4227 clr.b -[A7]
00000FC4 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000FC8 486D E772 pea.l [A5 - 0x188E]
00000FCC A8AD syscall PtInRect
00000FCE 4A1F tst.b [A7]+
00000FD0 6774 beq +0x76 /* 00001046 */
00000FD2 4EBA 041A jsr [PC + 0x41A /* 000013EE */]
00000FD6 4A40 tst.w D0
00000FD8 6738 beq +0x3A /* 00001012 */
00000FDA 526D E796 addq.w [A5 - 0x186A], 1
00000FDE 0C6D 0007 E796 cmpi.w [A5 - 0x186A], 0x7
00000FE4 6F04 ble +0x6 /* 00000FEA */
00000FE6 426D E796 clr.w [A5 - 0x186A]
label00000FEA:
00000FEA 302D E796 move.w D0, [A5 - 0x186A]
00000FEE B06D E798 cmp.w D0, [A5 - 0x1868]
00000FF2 6610 bne +0x12 /* 00001004 */
00000FF4 526D E796 addq.w [A5 - 0x186A], 1
00000FF8 0C6D 0007 E796 cmpi.w [A5 - 0x186A], 0x7
00000FFE 6F04 ble +0x6 /* 00001004 */
00001000 426D E796 clr.w [A5 - 0x186A]
label00001004:
00001004 3B6D E796 E62E move.w [A5 - 0x19D2], [A5 - 0x186A]
0000100A 4EBA 0DEE jsr [PC + 0xDEE /* 00001DFA */]
0000100E 6000 02BC bra +0x2BE /* 000012CC */
label00001012:
00001012 4A6D E79A tst.w [A5 - 0x1866]
00001016 660C bne +0xE /* 00001024 */
00001018 3B7C 0001 E79A move.w [A5 - 0x1866], 0x1
0000101E 426D E79C clr.w [A5 - 0x1864]
00001022 600A bra +0xC /* 0000102E */
label00001024:
00001024 426D E79A clr.w [A5 - 0x1866]
00001028 3B7C 0001 E79C move.w [A5 - 0x1864], 0x1
label0000102E:
0000102E 3B6D E79A E62E move.w [A5 - 0x19D2], [A5 - 0x1866]
00001034 3B6D E79C E630 move.w [A5 - 0x19D0], [A5 - 0x1864]
0000103A 4EBA 0F98 jsr [PC + 0xF98 /* 00001FD4 */]
0000103E 4EBA 0DBA jsr [PC + 0xDBA /* 00001DFA */]
00001042 6000 0288 bra +0x28A /* 000012CC */
label00001046:
00001046 4227 clr.b -[A7]
00001048 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000104C 486D E77A pea.l [A5 - 0x1886]
00001050 A8AD syscall PtInRect
00001052 4A1F tst.b [A7]+
00001054 6778 beq +0x7A /* 000010CE */
00001056 4EBA 0396 jsr [PC + 0x396 /* 000013EE */]
0000105A 4A40 tst.w D0
0000105C 673C beq +0x3E /* 0000109A */
0000105E 526D E798 addq.w [A5 - 0x1868], 1
00001062 0C6D 0007 E798 cmpi.w [A5 - 0x1868], 0x7
00001068 6F04 ble +0x6 /* 0000106E */
0000106A 426D E798 clr.w [A5 - 0x1868]
label0000106E:
0000106E 302D E798 move.w D0, [A5 - 0x1868]
00001072 B06D E796 cmp.w D0, [A5 - 0x186A]
00001076 6610 bne +0x12 /* 00001088 */
00001078 526D E798 addq.w [A5 - 0x1868], 1
0000107C 0C6D 0007 E798 cmpi.w [A5 - 0x1868], 0x7
00001082 6F04 ble +0x6 /* 00001088 */
00001084 426D E798 clr.w [A5 - 0x1868]
label00001088:
00001088 3B6D E798 E630 move.w [A5 - 0x19D0], [A5 - 0x1868]
0000108E 4EBA 0F44 jsr [PC + 0xF44 /* 00001FD4 */]
00001092 4EBA 0D66 jsr [PC + 0xD66 /* 00001DFA */]
00001096 6000 0234 bra +0x236 /* 000012CC */
label0000109A:
0000109A 4A6D E79A tst.w [A5 - 0x1866]
0000109E 660C bne +0xE /* 000010AC */
000010A0 3B7C 0001 E79A move.w [A5 - 0x1866], 0x1
000010A6 426D E79C clr.w [A5 - 0x1864]
000010AA 600A bra +0xC /* 000010B6 */
label000010AC:
000010AC 426D E79A clr.w [A5 - 0x1866]
000010B0 3B7C 0001 E79C move.w [A5 - 0x1864], 0x1
label000010B6:
000010B6 3B6D E79A E62E move.w [A5 - 0x19D2], [A5 - 0x1866]
000010BC 3B6D E79C E630 move.w [A5 - 0x19D0], [A5 - 0x1864]
000010C2 4EBA 0F10 jsr [PC + 0xF10 /* 00001FD4 */]
000010C6 4EBA 0D32 jsr [PC + 0xD32 /* 00001DFA */]
000010CA 6000 0200 bra +0x202 /* 000012CC */
label000010CE:
000010CE 4227 clr.b -[A7]
000010D0 2F2E FFFA move.l -[A7], [A6 - 0x6]
000010D4 486D E782 pea.l [A5 - 0x187E]
000010D8 A8AD syscall PtInRect
000010DA 4A1F tst.b [A7]+
000010DC 6770 beq +0x72 /* 0000114E */
000010DE 4EBA 030E jsr [PC + 0x30E /* 000013EE */]
000010E2 4A40 tst.w D0
000010E4 6738 beq +0x3A /* 0000111E */
000010E6 526D E79E addq.w [A5 - 0x1862], 1
000010EA 0C6D 0007 E79E cmpi.w [A5 - 0x1862], 0x7
000010F0 6F04 ble +0x6 /* 000010F6 */
000010F2 426D E79E clr.w [A5 - 0x1862]
label000010F6:
000010F6 302D E79E move.w D0, [A5 - 0x1862]
000010FA B06D E7A0 cmp.w D0, [A5 - 0x1860]
000010FE 6610 bne +0x12 /* 00001110 */
00001100 526D E79E addq.w [A5 - 0x1862], 1
00001104 0C6D 0007 E79E cmpi.w [A5 - 0x1862], 0x7
0000110A 6F04 ble +0x6 /* 00001110 */
0000110C 426D E79E clr.w [A5 - 0x1862]
label00001110:
00001110 3B6D E79E E62A move.w [A5 - 0x19D6], [A5 - 0x1862]
00001116 4EBA 0AD6 jsr [PC + 0xAD6 /* 00001BEE */]
0000111A 6000 01B0 bra +0x1B2 /* 000012CC */
label0000111E:
0000111E 4A6D E7A2 tst.w [A5 - 0x185E]
00001122 660C bne +0xE /* 00001130 */
00001124 3B7C 0001 E7A2 move.w [A5 - 0x185E], 0x1
0000112A 426D E7A4 clr.w [A5 - 0x185C]
0000112E 600A bra +0xC /* 0000113A */
label00001130:
00001130 426D E7A2 clr.w [A5 - 0x185E]
00001134 3B7C 0001 E7A4 move.w [A5 - 0x185C], 0x1
label0000113A:
0000113A 3B6D E7A2 E62A move.w [A5 - 0x19D6], [A5 - 0x185E]
00001140 3B6D E7A4 E62C move.w [A5 - 0x19D4], [A5 - 0x185C]
00001146 4EBA 0AA6 jsr [PC + 0xAA6 /* 00001BEE */]
0000114A 6000 0180 bra +0x182 /* 000012CC */
label0000114E:
0000114E 4227 clr.b -[A7]
00001150 2F2E FFFA move.l -[A7], [A6 - 0x6]
00001154 486D E78A pea.l [A5 - 0x1876]
00001158 A8AD syscall PtInRect
0000115A 4A1F tst.b [A7]+
0000115C 6770 beq +0x72 /* 000011CE */
0000115E 4EBA 028E jsr [PC + 0x28E /* 000013EE */]
00001162 4A40 tst.w D0
00001164 6738 beq +0x3A /* 0000119E */
00001166 526D E7A0 addq.w [A5 - 0x1860], 1
0000116A 0C6D 0007 E7A0 cmpi.w [A5 - 0x1860], 0x7
00001170 6F04 ble +0x6 /* 00001176 */
00001172 426D E7A0 clr.w [A5 - 0x1860]
label00001176:
00001176 302D E7A0 move.w D0, [A5 - 0x1860]
0000117A B06D E79E cmp.w D0, [A5 - 0x1862]
0000117E 6610 bne +0x12 /* 00001190 */
00001180 526D E7A0 addq.w [A5 - 0x1860], 1
00001184 0C6D 0007 E7A0 cmpi.w [A5 - 0x1860], 0x7
0000118A 6F04 ble +0x6 /* 00001190 */
0000118C 426D E7A0 clr.w [A5 - 0x1860]
label00001190:
00001190 3B6D E7A0 E62C move.w [A5 - 0x19D4], [A5 - 0x1860]
00001196 4EBA 0A56 jsr [PC + 0xA56 /* 00001BEE */]
0000119A 6000 0130 bra +0x132 /* 000012CC */
label0000119E:
0000119E 4A6D E7A2 tst.w [A5 - 0x185E]
000011A2 660C bne +0xE /* 000011B0 */
000011A4 3B7C 0001 E7A2 move.w [A5 - 0x185E], 0x1
000011AA 426D E7A4 clr.w [A5 - 0x185C]
000011AE 600A bra +0xC /* 000011BA */
label000011B0:
000011B0 426D E7A2 clr.w [A5 - 0x185E]
000011B4 3B7C 0001 E7A4 move.w [A5 - 0x185C], 0x1
label000011BA:
000011BA 3B6D E7A2 E62A move.w [A5 - 0x19D6], [A5 - 0x185E]
000011C0 3B6D E7A4 E62C move.w [A5 - 0x19D4], [A5 - 0x185C]
000011C6 4EBA 0A26 jsr [PC + 0xA26 /* 00001BEE */]
000011CA 6000 0100 bra +0x102 /* 000012CC */
label000011CE:
000011CE 7C00 moveq.l D6, 0x00
000011D0 6026 bra +0x28 /* 000011F8 */
label000011D2:
000011D2 4227 clr.b -[A7]
000011D4 2F2E FFFA move.l -[A7], [A6 - 0x6]
000011D8 204D movea.l A0, A5
000011DA 2006 move.l D0, D6
000011DC 48C0 ext.l D0
000011DE E788 lsl D0, 3
000011E0 D1C0 add.l A0, D0
000011E2 4868 E6A2 pea.l [A0 - 0x195E]
000011E6 A8AD syscall PtInRect
000011E8 4A1F tst.b [A7]+
000011EA 670A beq +0xC /* 000011F6 */
000011EC 3F06 move.w -[A7], D6
000011EE 4EBA 0222 jsr [PC + 0x222 /* 00001412 */]
000011F2 548F addq.l A7, 2
000011F4 6008 bra +0xA /* 000011FE */
label000011F6:
000011F6 5246 addq.w D6, 1
label000011F8:
000011F8 0C46 001A cmpi.w D6, 0x1A
000011FC 6DD4 blt -0x2A /* 000011D2 */
label000011FE:
000011FE 2F2E FFEC move.l -[A7], [A6 - 0x14]
00001202 A873 syscall SetPort
00001204 6000 00C6 bra +0xC8 /* 000012CC */
00001208 486E FFEC pea.l [A6 - 0x14]
0000120C A874 syscall GetPort
0000120E 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001212 A873 syscall SetPort
00001214 3C2E FFF4 move.w D6, [A6 - 0xC]
00001218 0246 00FF andi.w D6, 0xFF
0000121C 082E 0000 FFFE btst.b [A6 - 0x2], 0x0
00001222 671A beq +0x1C /* 0000123E */
00001224 42A7 clr.l -[A7]
00001226 3F06 move.w -[A7], D6
00001228 A93E syscall MenuKey
0000122A 261F move.l D3, [A7]+
0000122C 6710 beq +0x12 /* 0000123E */
0000122E 2F03 move.l -[A7], D3
00001230 4EBA 1E7E jsr [PC + 0x1E7E /* 000030B0 */]
00001234 2EAE FFEC move.l [A7], [A6 - 0x14]
00001238 A873 syscall SetPort
0000123A 6000 0090 bra +0x92 /* 000012CC */
label0000123E:
0000123E 302E FFFE move.w D0, [A6 - 0x2]
00001242 0240 0900 andi.w D0, 0x900 /* '\t\0' */
00001246 6620 bne +0x22 /* 00001268 */
00001248 182E FFF5 move.b D4, [A6 - 0xB]
0000124C 4884 ext.w D4
0000124E 3F04 move.w -[A7], D4
00001250 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
00001254 7EBF moveq.l D7, 0xFFFFFFBF
00001256 DE40 add.w D7, D0
00001258 3E87 move.w [A7], D7
0000125A 4EBA 01B6 jsr [PC + 0x1B6 /* 00001412 */]
0000125E 2F2E FFEC move.l -[A7], [A6 - 0x14]
00001262 A873 syscall SetPort
00001264 548F addq.l A7, 2
00001266 6064 bra +0x66 /* 000012CC */
label00001268:
00001268 3F3C 0002 move.w -[A7], 0x2
0000126C A9C8 syscall SysBeep
0000126E 605C bra +0x5E /* 000012CC */
00001270 486E FFF0 pea.l [A6 - 0x10]
00001274 4EBA 0092 jsr [PC + 0x92 /* 00001308 */]
00001278 588F addq.l A7, 4
0000127A 6050 bra +0x52 /* 000012CC */
0000127C 202E FFF2 move.l D0, [A6 - 0xE]
00001280 7218 moveq.l D1, 0x18
00001282 E2A0 asr D0, D1
00001284 0280 0000 00FF andi.l D0, 0xFF
0000128A 6740 beq +0x42 /* 000012CC */
0000128C 6B3E bmi +0x40 /* 000012CC */
0000128E 0480 0000 00FA subi.l D0, 0xFA
00001294 6736 beq +0x38 /* 000012CC */
00001296 6A34 bpl +0x36 /* 000012CC */
00001298 0480 FFFF FF08 subi.l D0, 0xFFFFFF08
0000129E 6A2C bpl +0x2E /* 000012CC */
000012A0 082E 0000 FFF5 btst.b [A6 - 0xB], 0x0
000012A6 670E beq +0x10 /* 000012B6 */
000012A8 A850 syscall InitCursor
000012AA 486E FFF0 pea.l [A6 - 0x10]
000012AE 4EBA 0058 jsr [PC + 0x58 /* 00001308 */]
000012B2 588F addq.l A7, 4
000012B4 6016 bra +0x18 /* 000012CC */
label000012B6:
000012B6 486E FFF0 pea.l [A6 - 0x10]
000012BA 4EBA 004C jsr [PC + 0x4C /* 00001308 */]
000012BE 588F addq.l A7, 4
000012C0 600A bra +0xC /* 000012CC */
000012C2 486E FFF0 pea.l [A6 - 0x10]
000012C6 4EBA 006E jsr [PC + 0x6E /* 00001336 */]
000012CA 588F addq.l A7, 4
label000012CC:
000012CC 4A6D E632 tst.w [A5 - 0x19CE]
000012D0 6700 FC1C beq -0x3E2 /* 00000EEE */
000012D4 4267 clr.w -[A7]
000012D6 4EBA 012C jsr [PC + 0x12C /* 00001404 */]
000012DA 548F addq.l A7, 2
000012DC 6000 FC10 bra -0x3EE /* 00000EEE */
label000012E0:
000012E0 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
000012E4 4E5E unlink A6
000012E6 4E75 rts
000012E8 FFE4 .invalid <<F/7/7>>
000012EA FC62 FFE4 .extension 0xC62 <<F/1/6>>, 0xFFE4 // unimplemented
000012EE FF20 .extension 0xF20 <<F/4-5/7>> // unimplemented
000012F0 FFE4 .invalid <<F/7/7>>
000012F2 FF20 .extension 0xF20 <<F/4-5/7>> // unimplemented
000012F4 FFDA .invalid <<F/7/7>>
000012F6 FFE4 .invalid <<F/7/7>>
000012F8 FF88 .invalid <<F/6/7>>
000012FA FFE4 .invalid <<F/7/7>>
000012FC FFE4 .invalid <<F/7/7>>
000012FE FFE4 .invalid <<F/7/7>>
00001300 FFE4 .invalid <<F/7/7>>
00001302 FFE4 .invalid <<F/7/7>>
00001304 FFE4 .invalid <<F/7/7>>
00001306 FF94 .invalid <<F/6/7>>
fn00001308:
00001308 4E56 0000 link A6, 0
0000130C 206E 0008 movea.l A0, [A6 + 0x8]
00001310 2028 0002 move.l D0, [A0 + 0x2]
00001314 B0AD E792 cmp.l D0, [A5 - 0x186E]
00001318 6618 bne +0x1A /* 00001332 */
0000131A 206E 0008 movea.l A0, [A6 + 0x8]
0000131E 0828 0000 000F btst.b [A0 + 0xF], 0x0
00001324 670C beq +0xE /* 00001332 */
00001326 2F2D E792 move.l -[A7], [A5 - 0x186E]
0000132A A91F syscall SelectWindow
0000132C 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001330 A873 syscall SetPort
label00001332:
00001332 4E5E unlink A6
00001334 4E75 rts
fn00001336:
00001336 4E56 FFFC link A6, -0x0004
0000133A 2F07 move.l -[A7], D7
0000133C 486E FFFC pea.l [A6 - 0x4]
00001340 A874 syscall GetPort
00001342 206E 0008 movea.l A0, [A6 + 0x8]
00001346 2028 0002 move.l D0, [A0 + 0x2]
0000134A B0AD E792 cmp.l D0, [A5 - 0x186E]
0000134E 6656 bne +0x58 /* 000013A6 */
00001350 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001354 A873 syscall SetPort
00001356 4EBA 005A jsr [PC + 0x5A /* 000013B2 */]
0000135A 2F2D E792 move.l -[A7], [A5 - 0x186E]
0000135E A922 syscall BeginUpdate
00001360 206D E792 movea.l A0, [A5 - 0x186E]
00001364 4868 0010 pea.l [A0 + 0x10]
00001368 A8A3 syscall EraseRect
0000136A 206D E792 movea.l A0, [A5 - 0x186E]
0000136E 4868 0010 pea.l [A0 + 0x10]
00001372 A8A1 syscall FrameRect
00001374 4EBA 0CAA jsr [PC + 0xCAA /* 00002020 */]
00001378 4EBA 0C5A jsr [PC + 0xC5A /* 00001FD4 */]
0000137C 4EBA 07FE jsr [PC + 0x7FE /* 00001B7C */]
00001380 302D E67C move.w D0, [A5 - 0x1984]
00001384 B06D E680 cmp.w D0, [A5 - 0x1980]
00001388 6716 beq +0x18 /* 000013A0 */
0000138A 7E0B moveq.l D7, 0x0B
0000138C 600C bra +0xE /* 0000139A */
label0000138E:
0000138E 4267 clr.w -[A7]
00001390 3F07 move.w -[A7], D7
00001392 4EBA 119A jsr [PC + 0x119A /* 0000252E */]
00001396 588F addq.l A7, 4
00001398 5347 subq.w D7, 1
label0000139A:
0000139A BE6D E67C cmp.w D7, [A5 - 0x1984]
0000139E 6CEE bge -0x10 /* 0000138E */
label000013A0:
000013A0 2F2D E792 move.l -[A7], [A5 - 0x186E]
000013A4 A923 syscall EndUpdate
label000013A6:
000013A6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000013AA A873 syscall SetPort
000013AC 2E1F move.l D7, [A7]+
000013AE 4E5E unlink A6
000013B0 4E75 rts
fn000013B2:
000013B2 4EBA 003A jsr [PC + 0x3A /* 000013EE */]
000013B6 4A40 tst.w D0
000013B8 671A beq +0x1C /* 000013D4 */
000013BA 3B6D E796 E62E move.w [A5 - 0x19D2], [A5 - 0x186A]
000013C0 3B6D E798 E630 move.w [A5 - 0x19D0], [A5 - 0x1868]
000013C6 3B6D E79E E62A move.w [A5 - 0x19D6], [A5 - 0x1862]
000013CC 3B6D E7A0 E62C move.w [A5 - 0x19D4], [A5 - 0x1860]
000013D2 6018 bra +0x1A /* 000013EC */
label000013D4:
000013D4 3B6D E79A E62E move.w [A5 - 0x19D2], [A5 - 0x1866]
000013DA 3B6D E79C E630 move.w [A5 - 0x19D0], [A5 - 0x1864]
000013E0 3B6D E7A2 E62A move.w [A5 - 0x19D6], [A5 - 0x185E]
000013E6 3B6D E7A4 E62C move.w [A5 - 0x19D4], [A5 - 0x185C]
label000013EC:
000013EC 4E75 rts
fn000013EE:
000013EE 4A2D E847 tst.b [A5 - 0x17B9]
000013F2 670C beq +0xE /* 00001400 */
000013F4 4EBA 01B6 jsr [PC + 0x1B6 /* 000015AC */]
000013F8 5540 subq.w D0, 2
000013FA 6F04 ble +0x6 /* 00001400 */
000013FC 7001 moveq.l D0, 0x01
000013FE 6002 bra +0x4 /* 00001402 */
label00001400:
00001400 7000 moveq.l D0, 0x00
label00001402:
00001402 4E75 rts
fn00001404:
00001404 4E56 0000 link A6, 0
00001408 4EBA 2692 jsr [PC + 0x2692 /* 00003A9C */]
0000140C A9F4 syscall ExitToShell
0000140E 4E5E unlink A6
00001410 4E75 rts
fn00001412:
00001412 4E56 0000 link A6, 0
00001416 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
0000141A 3E2E 0008 move.w D7, [A6 + 0x8]
0000141E 4A47 tst.w D7
00001420 6D00 0120 blt +0x122 /* 00001542 */
00001424 0C47 0019 cmpi.w D7, 0x19
00001428 6E00 0118 bgt +0x11A /* 00001542 */
0000142C 7C00 moveq.l D6, 0x00
0000142E 601C bra +0x1E /* 0000144C */
label00001430:
00001430 204D movea.l A0, A5
00001432 2007 move.l D0, D7
00001434 48C0 ext.l D0
00001436 E788 lsl D0, 3
00001438 D1C0 add.l A0, D0
0000143A 4868 E6A2 pea.l [A0 - 0x195E]
0000143E A8A4 syscall InvertRect
00001440 3F3C 0005 move.w -[A7], 0x5
00001444 4EBA 0B50 jsr [PC + 0xB50 /* 00001F96 */]
00001448 548F addq.l A7, 2
0000144A 5246 addq.w D6, 1
label0000144C:
0000144C 0C46 0006 cmpi.w D6, 0x6
00001450 6DDE blt -0x20 /* 00001430 */
00001452 204D movea.l A0, A5
00001454 D0C7 add.w A0, D7
00001456 D0C7 add.w A0, D7
00001458 0C68 0001 E648 cmpi.w [A0 - 0x19B8], 0x1
0000145E 6708 beq +0xA /* 00001468 */
00001460 0C6D 0001 E67C cmpi.w [A5 - 0x1984], 0x1
00001466 6C0A bge +0xC /* 00001472 */
label00001468:
00001468 3F3C 0002 move.w -[A7], 0x2
0000146C A9C8 syscall SysBeep
0000146E 6000 00D2 bra +0xD4 /* 00001542 */
label00001472:
00001472 204D movea.l A0, A5
00001474 D0C7 add.w A0, D7
00001476 D0C7 add.w A0, D7
00001478 317C 0001 E648 move.w [A0 - 0x19B8], 0x1
0000147E 3F3C 0001 move.w -[A7], 0x1
00001482 3F07 move.w -[A7], D7
00001484 4EBA 1518 jsr [PC + 0x1518 /* 0000299E */]
00001488 4EBA 0970 jsr [PC + 0x970 /* 00001DFA */]
0000148C 3E87 move.w [A7], D7
0000148E 4EBA 086A jsr [PC + 0x86A /* 00001CFA */]
00001492 3800 move.w D4, D0
00001494 0C44 0001 cmpi.w D4, 0x1
00001498 588F addq.l A7, 4
0000149A 661E bne +0x20 /* 000014BA */
0000149C 3F3C 0002 move.w -[A7], 0x2
000014A0 4EBA 0244 jsr [PC + 0x244 /* 000016E6 */]
000014A4 4EBA 0AAC jsr [PC + 0xAAC /* 00001F52 */]
000014A8 4EBA 0900 jsr [PC + 0x900 /* 00001DAA */]
000014AC 4878 000A push.l 0xA /* '\n' */
000014B0 201F move.l D0, [A7]+
000014B2 A032 syscall FlushEvents
000014B4 548F addq.l A7, 2
000014B6 6000 008A bra +0x8C /* 00001542 */
label000014BA:
000014BA 0C44 0002 cmpi.w D4, 0x2
000014BE 6600 0082 bne +0x84 /* 00001542 */
000014C2 3F3C 0003 move.w -[A7], 0x3
000014C6 4EBA 021E jsr [PC + 0x21E /* 000016E6 */]
000014CA 7C00 moveq.l D6, 0x00
000014CC 548F addq.l A7, 2
label000014CE:
000014CE 486D E634 pea.l [A5 - 0x19CC]
000014D2 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
000014D6 3046 movea.w A0, D6
000014D8 B088 cmp.l D0, A0
000014DA 588F addq.l A7, 4
000014DC 6354 bls +0x56 /* 00001532 */
000014DE 204D movea.l A0, A5
000014E0 D0C6 add.w A0, D6
000014E2 1A28 E634 move.b D5, [A0 - 0x19CC]
000014E6 4885 ext.w D5
000014E8 0645 FFBF addi.w D5, 0xFFBF
000014EC 0C45 FFDF cmpi.w D5, 0xFFDF
000014F0 673C beq +0x3E /* 0000152E */
000014F2 204D movea.l A0, A5
000014F4 D0C5 add.w A0, D5
000014F6 D0C5 add.w A0, D5
000014F8 0C68 0001 E648 cmpi.w [A0 - 0x19B8], 0x1
000014FE 672E beq +0x30 /* 0000152E */
00001500 204D movea.l A0, A5
00001502 D0C5 add.w A0, D5
00001504 D0C5 add.w A0, D5
00001506 4A68 E648 tst.w [A0 - 0x19B8]
0000150A 6622 bne +0x24 /* 0000152E */
0000150C 204D movea.l A0, A5
0000150E D0C5 add.w A0, D5
00001510 D0C5 add.w A0, D5
00001512 317C 0001 E648 move.w [A0 - 0x19B8], 0x1
00001518 4EBA 08E0 jsr [PC + 0x8E0 /* 00001DFA */]
0000151C 3F3C 0004 move.w -[A7], 0x4
00001520 4EBA 01C4 jsr [PC + 0x1C4 /* 000016E6 */]
00001524 3EBC 000F move.w [A7], 0xF
00001528 4EBA 0A6C jsr [PC + 0xA6C /* 00001F96 */]
0000152C 548F addq.l A7, 2
label0000152E:
0000152E 5246 addq.w D6, 1
00001530 609C bra -0x62 /* 000014CE */
label00001532:
00001532 4EBA 0A1E jsr [PC + 0xA1E /* 00001F52 */]
00001536 4EBA 0872 jsr [PC + 0x872 /* 00001DAA */]
0000153A 4878 000A push.l 0xA /* '\n' */
0000153E 201F move.l D0, [A7]+
00001540 A032 syscall FlushEvents
label00001542:
00001542 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00001546 4E5E unlink A6
00001548 4E75 rts
fn0000154A:
0000154A 4E56 FFFC link A6, -0x0004
0000154E 42A7 clr.l -[A7]
00001550 2F3C 6000 0060 move.l -[A7], 0x60000060 /* '`\0\0`' */
00001556 4EBA 2A84 jsr [PC + 0x2A84 /* 00003FDC */]
0000155A 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000155E 42A7 clr.l -[A7]
00001560 2F3C 6000 009F move.l -[A7], 0x6000009F
00001566 4EBA 2A74 jsr [PC + 0x2A74 /* 00003FDC */]
0000156A 202E FFFC move.l D0, [A6 - 0x4]
0000156E B09F cmp.l D0, [A7]+
00001570 56C0 sne D0
00001572 4400 neg.b D0
00001574 1B40 E846 move.b [A5 - 0x17BA], D0
00001578 4E5E unlink A6
0000157A 4E75 rts
fn0000157C:
0000157C 4E56 FFF0 link A6, -0x0010
00001580 2F07 move.l -[A7], D7
00001582 4267 clr.w -[A7]
00001584 3F3C 0001 move.w -[A7], 0x1
00001588 486E FFF0 pea.l [A6 - 0x10]
0000158C 4EBA 26D6 jsr [PC + 0x26D6 /* 00003C64 */]
00001590 3E1F move.w D7, [A7]+
00001592 4A47 tst.w D7
00001594 6704 beq +0x6 /* 0000159A */
00001596 7000 moveq.l D0, 0x00
00001598 600C bra +0xE /* 000015A6 */
label0000159A:
0000159A 4A2E FFF9 tst.b [A6 - 0x7]
0000159E 6704 beq +0x6 /* 000015A4 */
000015A0 7001 moveq.l D0, 0x01
000015A2 6002 bra +0x4 /* 000015A6 */
label000015A4:
000015A4 7000 moveq.l D0, 0x00
label000015A6:
000015A6 2E1F move.l D7, [A7]+
000015A8 4E5E unlink A6
000015AA 4E75 rts
fn000015AC:
000015AC 48E7 0018 movem.l -[A7], A3,A4
000015B0 42A7 clr.l -[A7]
000015B2 AA32 syscall GetGDevice
000015B4 285F movea.l A4, [A7]+
000015B6 2054 movea.l A0, [A4]
000015B8 2668 0016 movea.l A3, [A0 + 0x16]
000015BC 2253 movea.l A1, [A3]
000015BE 3029 0020 move.w D0, [A1 + 0x20]
000015C2 4CDF 1800 movem.l A3,A4, [A7]+
000015C6 4E75 rts
fn000015C8:
000015C8 4E56 FDE0 link A6, -0x0220
000015CC 2F07 move.l -[A7], D7
000015CE 4267 clr.w -[A7]
000015D0 486E FDE0 pea.l [A6 - 0x220]
000015D4 486D E850 pea.l [A5 - 0x17B0]
000015D8 4EBA 2ACA jsr [PC + 0x2ACA /* 000040A4 */]
000015DC 486D E854 pea.l [A5 - 0x17AC]
000015E0 486E FEF0 pea.l [A6 - 0x110]
000015E4 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
000015E8 4257 clr.w [A7]
000015EA 3F3C 0001 move.w -[A7], 0x1
000015EE 486E FFF0 pea.l [A6 - 0x10]
000015F2 4EBA 2670 jsr [PC + 0x2670 /* 00003C64 */]
000015F6 3E1F move.w D7, [A7]+
000015F8 4A47 tst.w D7
000015FA 508F addq.l A7, 8
000015FC 670E beq +0x10 /* 0000160C */
000015FE 486E FEF0 pea.l [A6 - 0x110]
00001602 4EBA 25BA jsr [PC + 0x25BA /* 00003BBE */]
00001606 7000 moveq.l D0, 0x00
00001608 6000 00D4 bra +0xD6 /* 000016DE */
label0000160C:
0000160C 0C6E 0604 FFF4 cmpi.w [A6 - 0xC], 0x604
00001612 6C0E bge +0x10 /* 00001622 */
00001614 486E FEF0 pea.l [A6 - 0x110]
00001618 4EBA 25A4 jsr [PC + 0x25A4 /* 00003BBE */]
0000161C 7000 moveq.l D0, 0x00
0000161E 6000 00BE bra +0xC0 /* 000016DE */
label00001622:
00001622 0C6E 0002 FFF2 cmpi.w [A6 - 0xE], 0x2
00001628 6C0E bge +0x10 /* 00001638 */
0000162A 486E FEF0 pea.l [A6 - 0x110]
0000162E 4EBA 258E jsr [PC + 0x258E /* 00003BBE */]
00001632 7000 moveq.l D0, 0x00
00001634 6000 00A8 bra +0xAA /* 000016DE */
label00001638:
00001638 422D E848 clr.b [A5 - 0x17B8]
0000163C 3B6E FFFE E84A move.w [A5 - 0x17B6], [A6 - 0x2]
00001642 4267 clr.w -[A7]
00001644 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001648 486E FEE2 pea.l [A6 - 0x11E]
0000164C 486E FEEC pea.l [A6 - 0x114]
00001650 486E FEE4 pea.l [A6 - 0x11C]
00001654 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00001658 3E1F move.w D7, [A7]+
0000165A 4A47 tst.w D7
0000165C 670C beq +0xE /* 0000166A */
0000165E 486E FEF0 pea.l [A6 - 0x110]
00001662 4EBA 255A jsr [PC + 0x255A /* 00003BBE */]
00001666 7000 moveq.l D0, 0x00
00001668 6074 bra +0x76 /* 000016DE */
label0000166A:
0000166A 3B6E FEE2 E84A move.w [A5 - 0x17B6], [A6 - 0x11E]
00001670 2B6E FEEC E84C move.l [A5 - 0x17B4], [A6 - 0x114]
00001676 4267 clr.w -[A7]
00001678 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000167E 486E FEE8 pea.l [A6 - 0x118]
00001682 4EBA 274A jsr [PC + 0x274A /* 00003DCE */]
00001686 3E1F move.w D7, [A7]+
00001688 4A47 tst.w D7
0000168A 6704 beq +0x6 /* 00001690 */
0000168C 7001 moveq.l D0, 0x01
0000168E 604E bra +0x50 /* 000016DE */
label00001690:
00001690 4227 clr.b -[A7]
00001692 486E FEE8 pea.l [A6 - 0x118]
00001696 4878 001F push.l 0x1F
0000169A A85D syscall BitTst
0000169C 7000 moveq.l D0, 0x00
0000169E 101F move.b D0, [A7]+
000016A0 4A40 tst.w D0
000016A2 6604 bne +0x6 /* 000016A8 */
000016A4 7001 moveq.l D0, 0x01
000016A6 6036 bra +0x38 /* 000016DE */
label000016A8:
000016A8 1B7C 0001 E848 move.b [A5 - 0x17B8], 0x1
000016AE 4267 clr.w -[A7]
000016B0 3F3C 8000 move.w -[A7], 0x8000
000016B4 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
000016BA 1F3C 0001 move.b -[A7], 0x1
000016BE 486E FEE2 pea.l [A6 - 0x11E]
000016C2 486E FEEC pea.l [A6 - 0x114]
000016C6 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
000016CA 3E1F move.w D7, [A7]+
000016CC 4A47 tst.w D7
000016CE 660C bne +0xE /* 000016DC */
000016D0 3B6E FEE2 E84A move.w [A5 - 0x17B6], [A6 - 0x11E]
000016D6 2B6E FEEC E84C move.l [A5 - 0x17B4], [A6 - 0x114]
label000016DC:
000016DC 7001 moveq.l D0, 0x01
label000016DE:
000016DE 2E2E FDDC move.l D7, [A6 - 0x224]
000016E2 4E5E unlink A6
000016E4 4E75 rts
fn000016E6:
000016E6 4E56 0000 link A6, 0
000016EA 4A6D E7A6 tst.w [A5 - 0x185A]
000016EE 670C beq +0xE /* 000016FC */
000016F0 3F2E 0008 move.w -[A7], [A6 + 0x8]
000016F4 4EBA 000A jsr [PC + 0xA /* 00001700 */]
000016F8 5340 subq.w D0, 1
000016FA 548F addq.l A7, 2
label000016FC:
000016FC 4E5E unlink A6
000016FE 4E75 rts
fn00001700:
00001700 4E56 FEFC link A6, -0x0104
00001704 48E7 0308 movem.l -[A7], D6,D7,A4
00001708 3E2E 0008 move.w D7, [A6 + 0x8]
0000170C 204D movea.l A0, A5
0000170E 2007 move.l D0, D7
00001710 48C0 ext.l D0
00001712 E588 lsl D0, 2
00001714 D1C0 add.l A0, D0
00001716 2F28 E8A6 move.l -[A7], [A0 - 0x175A]
0000171A 4EBA 2512 jsr [PC + 0x2512 /* 00003C2E */]
0000171E 4297 clr.l [A7]
00001720 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00001726 204D movea.l A0, A5
00001728 2007 move.l D0, D7
0000172A 48C0 ext.l D0
0000172C E588 lsl D0, 2
0000172E D1C0 add.l A0, D0
00001730 2F28 E8A6 move.l -[A7], [A0 - 0x175A]
00001734 A9A1 syscall GetNamedResource
00001736 285F movea.l A4, [A7]+
00001738 204D movea.l A0, A5
0000173A 2007 move.l D0, D7
0000173C 48C0 ext.l D0
0000173E E588 lsl D0, 2
00001740 D1C0 add.l A0, D0
00001742 2F28 E8A6 move.l -[A7], [A0 - 0x175A]
00001746 4EBA 2502 jsr [PC + 0x2502 /* 00003C4A */]
0000174A 200C move.l D0, A4
0000174C 588F addq.l A7, 4
0000174E 672C beq +0x2E /* 0000177C */
00001750 2F0C move.l -[A7], A4
00001752 486E FEFE pea.l [A6 - 0x102]
00001756 486E FEFC pea.l [A6 - 0x104]
0000175A 486E FF00 pea.l [A6 - 0x100]
0000175E A9A8 syscall GetResInfo
00001760 204C movea.l A0, A4
00001762 A029 syscall HLock
00001764 4267 clr.w -[A7]
00001766 42A7 clr.l -[A7]
00001768 2F0C move.l -[A7], A4
0000176A 4227 clr.b -[A7]
0000176C A805 syscall SndPlay
0000176E 3C1F move.w D6, [A7]+
00001770 204C movea.l A0, A4
00001772 A02A syscall HUnlock
00001774 4A46 tst.w D6
00001776 6604 bne +0x6 /* 0000177C */
00001778 7001 moveq.l D0, 0x01
0000177A 6002 bra +0x4 /* 0000177E */
label0000177C:
0000177C 7000 moveq.l D0, 0x00
label0000177E:
0000177E 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001782 4E5E unlink A6
00001784 4E75 rts
fn00001786:
00001786 4E56 FEF4 link A6, -0x010C
0000178A 48E7 0108 movem.l -[A7], D7,A4
0000178E 486D F606 pea.l [A5 - 0x9FA]
00001792 486D E634 pea.l [A5 - 0x19CC]
00001796 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000179A 4297 clr.l [A7]
0000179C A975 syscall TickCount
0000179E 2B5F F956 move.l [A5 - 0x6AA], [A7]+
000017A2 0C6D 0002 E67E cmpi.w [A5 - 0x1982], 0x2
000017A8 588F addq.l A7, 4
000017AA 662A bne +0x2C /* 000017D6 */
000017AC 70FF moveq.l D0, 0xFFFFFFFF
000017AE D06D F602 add.w D0, [A5 - 0x9FE]
000017B2 3F00 move.w -[A7], D0
000017B4 4EBA 0108 jsr [PC + 0x108 /* 000018BE */]
000017B8 3E00 move.w D7, D0
000017BA 7011 moveq.l D0, 0x11
000017BC C1C7 muls.w D0, D7
000017BE 204D movea.l A0, A5
000017C0 D1C0 add.l A0, D0
000017C2 4868 E8BA pea.l [A0 - 0x1746]
000017C6 486D E634 pea.l [A5 - 0x19CC]
000017CA 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
000017CE 4FEF 000A lea.l A7, [A7 + 0xA]
000017D2 6000 008C bra +0x8E /* 00001860 */
label000017D6:
000017D6 2F2D F738 move.l -[A7], [A5 - 0x8C8]
000017DA 3F2D E67E move.w -[A7], [A5 - 0x1982]
000017DE 486E FEF4 pea.l [A6 - 0x10C]
000017E2 A946 syscall GetMenuItemText/GetItem
000017E4 42A7 clr.l -[A7]
000017E6 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000017EC 486E FEF4 pea.l [A6 - 0x10C]
000017F0 A9A1 syscall GetNamedResource
000017F2 285F movea.l A4, [A7]+
000017F4 200C move.l D0, A4
000017F6 6768 beq +0x6A /* 00001860 */
000017F8 204C movea.l A0, A4
000017FA A029 syscall HLock
000017FC 2F0C move.l -[A7], A4
000017FE 486E FFFC pea.l [A6 - 0x4]
00001802 486E FFF8 pea.l [A6 - 0x8]
00001806 486E FEF4 pea.l [A6 - 0x10C]
0000180A A9A8 syscall GetResInfo
0000180C 2054 movea.l A0, [A4]
0000180E 3E10 move.w D7, [A0]
00001810 486E FEF4 pea.l [A6 - 0x10C]
00001814 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001818 70FF moveq.l D0, 0xFFFFFFFF
0000181A D047 add.w D0, D7
0000181C 3F00 move.w -[A7], D0
0000181E 4EBA 009E jsr [PC + 0x9E /* 000018BE */]
00001822 5240 addq.w D0, 1
00001824 3E80 move.w [A7], D0
00001826 4EBA 2962 jsr [PC + 0x2962 /* 0000418A */]
0000182A 204C movea.l A0, A4
0000182C A02A syscall HUnlock
0000182E 486E FEF4 pea.l [A6 - 0x10C]
00001832 4EBA 2416 jsr [PC + 0x2416 /* 00003C4A */]
00001836 486E FEF4 pea.l [A6 - 0x10C]
0000183A 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
0000183E 4A80 tst.l D0
00001840 508F addq.l A7, 8
00001842 671C beq +0x1E /* 00001860 */
00001844 486E FEF4 pea.l [A6 - 0x10C]
00001848 4EBA 1D82 jsr [PC + 0x1D82 /* 000035CC */]
0000184C 5340 subq.w D0, 1
0000184E 588F addq.l A7, 4
00001850 660E bne +0x10 /* 00001860 */
00001852 486E FEF4 pea.l [A6 - 0x10C]
00001856 486D E634 pea.l [A5 - 0x19CC]
0000185A 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000185E 508F addq.l A7, 8
label00001860:
00001860 486D E634 pea.l [A5 - 0x19CC]
00001864 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00001868 3B40 E646 move.w [A5 - 0x19BA], D0
0000186C 486D E634 pea.l [A5 - 0x19CC]
00001870 4EBA 0010 jsr [PC + 0x10 /* 00001882 */]
00001874 4EBA 075E jsr [PC + 0x75E /* 00001FD4 */]
00001878 4CEE 1080 FEEC movem.l D7,A4, [A6 - 0x114]
0000187E 4E5E unlink A6
00001880 4E75 rts
fn00001882:
00001882 4E56 0000 link A6, 0
00001886 2F07 move.l -[A7], D7
00001888 7E00 moveq.l D7, 0x00
label0000188A:
0000188A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000188E 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00001892 3047 movea.w A0, D7
00001894 B088 cmp.l D0, A0
00001896 588F addq.l A7, 4
00001898 631E bls +0x20 /* 000018B8 */
0000189A 206E 0008 movea.l A0, [A6 + 0x8]
0000189E 1030 7000 move.b D0, [A0 + D7.w]
000018A2 4880 ext.w D0
000018A4 3F00 move.w -[A7], D0
000018A6 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
000018AA 206E 0008 movea.l A0, [A6 + 0x8]
000018AE 1180 7000 move.b [A0 + D7.w], D0
000018B2 548F addq.l A7, 2
000018B4 5247 addq.w D7, 1
000018B6 60D2 bra -0x2C /* 0000188A */
label000018B8:
000018B8 2E1F move.l D7, [A7]+
000018BA 4E5E unlink A6
000018BC 4E75 rts
fn000018BE:
000018BE 4E56 FFE6 link A6, -0x001A
000018C2 2F06 move.l -[A7], D6
000018C4 486E FFE8 pea.l [A6 - 0x18]
000018C8 4EBA 0066 jsr [PC + 0x66 /* 00001930 */]
000018CC 7001 moveq.l D0, 0x01
000018CE D06E 0008 add.w D0, [A6 + 0x8]
000018D2 3D40 FFE6 move.w [A6 - 0x1A], D0
000018D6 486E FFE6 pea.l [A6 - 0x1A]
000018DA 486E FFEA pea.l [A6 - 0x16]
000018DE 3F3C 2004 move.w -[A7], 0x2004
000018E2 A9EB syscall Pack4/FP68K
000018E4 41D6 lea.l A0, [A6]
000018E6 43EE FFF4 lea.l A1, [A6 - 0xC]
000018EA 2121 move.l -[A0], -[A1]
000018EC 2121 move.l -[A0], -[A1]
000018EE 3121 move.w -[A0], -[A1]
000018F0 3110 move.w -[A0], [A0]
000018F2 41EE FFE8 lea.l A0, [A6 - 0x18]
000018F6 43EE FFF6 lea.l A1, [A6 - 0xA]
000018FA 20D9 move.l [A0]+, [A1]+
000018FC 20D9 move.l [A0]+, [A1]+
000018FE 30D9 move.w [A0]+, [A1]+
00001900 4868 FFF6 pea.l [A0 - 0xA]
00001904 3F3C 0016 move.w -[A7], 0x16
00001908 A9EB syscall Pack4/FP68K
0000190A 4868 FFF6 pea.l [A0 - 0xA]
0000190E 486E FFF2 pea.l [A6 - 0xE]
00001912 3F3C 2010 move.w -[A7], 0x2010
00001916 A9EB syscall Pack4/FP68K
00001918 3C2E FFF2 move.w D6, [A6 - 0xE]
0000191C BC6E 0008 cmp.w D6, [A6 + 0x8]
00001920 588F addq.l A7, 4
00001922 6F04 ble +0x6 /* 00001928 */
00001924 3C2E 0008 move.w D6, [A6 + 0x8]
label00001928:
00001928 3006 move.w D0, D6
0000192A 2C1F move.l D6, [A7]+
0000192C 4E5E unlink A6
0000192E 4E75 rts
fn00001930:
00001930 4E56 FFF4 link A6, -0x000C
00001934 2F07 move.l -[A7], D7
00001936 4267 clr.w -[A7]
00001938 A861 syscall Random
0000193A 3E1F move.w D7, [A7]+
0000193C 4A47 tst.w D7
0000193E 6C02 bge +0x4 /* 00001942 */
00001940 4447 neg.w D7
label00001942:
00001942 3D47 FFF4 move.w [A6 - 0xC], D7
00001946 486E FFF4 pea.l [A6 - 0xC]
0000194A 486E FFF6 pea.l [A6 - 0xA]
0000194E 3F3C 200E move.w -[A7], 0x200E
00001952 A9EB syscall Pack4/FP68K
00001954 487A 0024 pea.l [PC + 0x24 /* 0000197A, value 0x7FFF4E56 */]
00001958 486E FFF6 pea.l [A6 - 0xA]
0000195C 3F3C 2006 move.w -[A7], 0x2006
00001960 A9EB syscall Pack4/FP68K
00001962 206E 0008 movea.l A0, [A6 + 0x8]
00001966 41E8 000C lea.l A0, [A0 + 0xC]
0000196A 43D6 lea.l A1, [A6]
0000196C 2121 move.l -[A0], -[A1]
0000196E 2121 move.l -[A0], -[A1]
00001970 3121 move.w -[A0], -[A1]
00001972 3110 move.w -[A0], [A0]
00001974 2E1F move.l D7, [A7]+
00001976 4E5E unlink A6
00001978 4E75 rts
0000197A 7FFF moveq.l D7, 0xFFFFFFFF
fn0000197C:
0000197C 4E56 FFAE link A6, -0x0052
00001980 42AE FFBC clr.l [A6 - 0x44]
00001984 3D6E 0008 FFC6 move.w [A6 - 0x3A], [A6 + 0x8]
0000198A 2D6E 000A FFC2 move.l [A6 - 0x3E], [A6 + 0xA]
00001990 422E FFCF clr.b [A6 - 0x31]
00001994 426E FFCC clr.w [A6 - 0x34]
00001998 4267 clr.w -[A7]
0000199A 486E FFB0 pea.l [A6 - 0x50]
0000199E 4227 clr.b -[A7]
000019A0 4EBA 264E jsr [PC + 0x264E /* 00003FF0 */]
000019A4 3D5F FFAE move.w [A6 - 0x52], [A7]+
000019A8 6704 beq +0x6 /* 000019AE */
000019AA 7000 moveq.l D0, 0x00
000019AC 6004 bra +0x6 /* 000019B2 */
label000019AE:
000019AE 202E FFE6 move.l D0, [A6 - 0x1A]
label000019B2:
000019B2 4E5E unlink A6
000019B4 4E75 rts
fn000019B6:
000019B6 4E56 FFAE link A6, -0x0052
000019BA 42AE FFBC clr.l [A6 - 0x44]
000019BE 3D6E 0008 FFC6 move.w [A6 - 0x3A], [A6 + 0x8]
000019C4 2D6E 000A FFC2 move.l [A6 - 0x3E], [A6 + 0xA]
000019CA 422E FFCF clr.b [A6 - 0x31]
000019CE 426E FFCC clr.w [A6 - 0x34]
000019D2 4267 clr.w -[A7]
000019D4 486E FFB0 pea.l [A6 - 0x50]
000019D8 4227 clr.b -[A7]
000019DA 4EBA 2614 jsr [PC + 0x2614 /* 00003FF0 */]
000019DE 3D5F FFAE move.w [A6 - 0x52], [A7]+
000019E2 6704 beq +0x6 /* 000019E8 */
000019E4 7000 moveq.l D0, 0x00
000019E6 6012 bra +0x14 /* 000019FA */
label000019E8:
000019E8 206E 0012 movea.l A0, [A6 + 0x12]
000019EC 20AE FFD0 move.l [A0], [A6 - 0x30]
000019F0 226E 000E movea.l A1, [A6 + 0xE]
000019F4 22AE FFD4 move.l [A1], [A6 - 0x2C]
000019F8 7001 moveq.l D0, 0x01
label000019FA:
000019FA 4E5E unlink A6
000019FC 4E75 rts
fn000019FE:
000019FE 4E56 FEF2 link A6, -0x010E
00001A02 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00001A06 7600 moveq.l D3, 0x00
00001A08 4EBA 1634 jsr [PC + 0x1634 /* 0000303E */]
00001A0C 486E FEF6 pea.l [A6 - 0x10A]
00001A10 486E FEFA pea.l [A6 - 0x106]
00001A14 486D F60E pea.l [A5 - 0x9F2]
00001A18 4267 clr.w -[A7]
00001A1A 4EBA FF9A jsr [PC - 0x66 /* 000019B6 */]
00001A1E 4A40 tst.w D0
00001A20 4FEF 000E lea.l A7, [A7 + 0xE]
00001A24 6606 bne +0x8 /* 00001A2C */
00001A26 7000 moveq.l D0, 0x00
00001A28 6000 0116 bra +0x118 /* 00001B40 */
label00001A2C:
00001A2C 0CAE 5445 5854 FEF6 cmpi.l [A6 - 0x10A], 0x54455854 /* 'TEXT' */
00001A34 6706 beq +0x8 /* 00001A3C */
00001A36 7000 moveq.l D0, 0x00
00001A38 6000 0106 bra +0x108 /* 00001B40 */
label00001A3C:
00001A3C 486D F618 pea.l [A5 - 0x9E8]
00001A40 4267 clr.w -[A7]
00001A42 4EBA FF38 jsr [PC - 0xC8 /* 0000197C */]
00001A46 2D40 FEF2 move.l [A6 - 0x10E], D0
00001A4A 5C8F addq.l A7, 6
00001A4C 6606 bne +0x8 /* 00001A54 */
00001A4E 7000 moveq.l D0, 0x00
00001A50 6000 00EE bra +0xF0 /* 00001B40 */
label00001A54:
00001A54 202E FEF2 move.l D0, [A6 - 0x10E]
00001A58 A11E syscall NewPtr, flags=1
00001A5A 2848 movea.l A4, A0
00001A5C 200C move.l D0, A4
00001A5E 6606 bne +0x8 /* 00001A66 */
00001A60 7000 moveq.l D0, 0x00
00001A62 6000 00DC bra +0xDE /* 00001B40 */
label00001A66:
00001A66 4267 clr.w -[A7]
00001A68 486D F622 pea.l [A5 - 0x9DE]
00001A6C 4267 clr.w -[A7]
00001A6E 486E FFFE pea.l [A6 - 0x2]
00001A72 4EBA 258E jsr [PC + 0x258E /* 00004002 */]
00001A76 4A5F tst.w [A7]+
00001A78 6706 beq +0x8 /* 00001A80 */
00001A7A 7000 moveq.l D0, 0x00
00001A7C 6000 00C2 bra +0xC4 /* 00001B40 */
label00001A80:
00001A80 4267 clr.w -[A7]
00001A82 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A86 3F3C 0001 move.w -[A7], 0x1
00001A8A 42A7 clr.l -[A7]
00001A8C 4EBA 2678 jsr [PC + 0x2678 /* 00004106 */]
00001A90 4257 clr.w [A7]
00001A92 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001A96 486E FEF2 pea.l [A6 - 0x10E]
00001A9A 2F0C move.l -[A7], A4
00001A9C 4EBA 25BE jsr [PC + 0x25BE /* 0000405C */]
00001AA0 381F move.w D4, [A7]+
00001AA2 4267 clr.w -[A7]
00001AA4 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001AA8 4EBA 2598 jsr [PC + 0x2598 /* 00004042 */]
00001AAC 7A00 moveq.l D5, 0x00
00001AAE 7E00 moveq.l D7, 0x00
00001AB0 548F addq.l A7, 2
00001AB2 6066 bra +0x68 /* 00001B1A */
label00001AB4:
00001AB4 422E FEFE clr.b [A6 - 0x102]
00001AB8 7C00 moveq.l D6, 0x00
00001ABA 602E bra +0x30 /* 00001AEA */
label00001ABC:
00001ABC 204E movea.l A0, A6
00001ABE D0C6 add.w A0, D6
00001AC0 1174 3000 FEFE move.b [A0 - 0x102], [A4 + D3.w]
00001AC6 204E movea.l A0, A6
00001AC8 D0C6 add.w A0, D6
00001ACA 4228 FEFF clr.b [A0 - 0x101]
00001ACE 204E movea.l A0, A6
00001AD0 D0C6 add.w A0, D6
00001AD2 0C28 000D FEFE cmpi.b [A0 - 0x102], 0xD /* '\r' */
00001AD8 660C bne +0xE /* 00001AE6 */
00001ADA 204E movea.l A0, A6
00001ADC D0C6 add.w A0, D6
00001ADE 4228 FEFE clr.b [A0 - 0x102]
00001AE2 5283 addq.l D3, 1
00001AE4 600A bra +0xC /* 00001AF0 */
label00001AE6:
00001AE6 5283 addq.l D3, 1
00001AE8 5246 addq.w D6, 1
label00001AEA:
00001AEA B6AE FEF2 cmp.l D3, [A6 - 0x10E]
00001AEE 6DCC blt -0x32 /* 00001ABC */
label00001AF0:
00001AF0 486E FEFE pea.l [A6 - 0x102]
00001AF4 4EBA 1AD6 jsr [PC + 0x1AD6 /* 000035CC */]
00001AF8 4A40 tst.w D0
00001AFA 588F addq.l A7, 4
00001AFC 671A beq +0x1C /* 00001B18 */
00001AFE 486E FEFE pea.l [A6 - 0x102]
00001B02 3005 move.w D0, D5
00001B04 5245 addq.w D5, 1
00001B06 C1FC 0011 muls.w D0, 0x11
00001B0A 204D movea.l A0, A5
00001B0C D1C0 add.l A0, D0
00001B0E 4868 E8BA pea.l [A0 - 0x1746]
00001B12 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00001B16 508F addq.l A7, 8
label00001B18:
00001B18 5247 addq.w D7, 1
label00001B1A:
00001B1A 0C47 00C8 cmpi.w D7, 0xC8
00001B1E 6D94 blt -0x6A /* 00001AB4 */
00001B20 204C movea.l A0, A4
00001B22 A01F syscall DisposPtr/DisposePtr
00001B24 4A45 tst.w D5
00001B26 6F16 ble +0x18 /* 00001B3E */
00001B28 3B45 F602 move.w [A5 - 0x9FE], D5
00001B2C 3B7C 0001 F604 move.w [A5 - 0x9FC], 0x1
00001B32 4EBA 1518 jsr [PC + 0x1518 /* 0000304C */]
00001B36 4EBA 1522 jsr [PC + 0x1522 /* 0000305A */]
00001B3A 7001 moveq.l D0, 0x01
00001B3C 6002 bra +0x4 /* 00001B40 */
label00001B3E:
00001B3E 7000 moveq.l D0, 0x00
label00001B40:
00001B40 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00001B44 4E5E unlink A6
00001B46 4E75 rts
fn00001B48:
00001B48 2F07 move.l -[A7], D7
00001B4A 426D E646 clr.w [A5 - 0x19BA]
00001B4E 7E00 moveq.l D7, 0x00
00001B50 600C bra +0xE /* 00001B5E */
label00001B52:
00001B52 204D movea.l A0, A5
00001B54 D0C7 add.w A0, D7
00001B56 D0C7 add.w A0, D7
00001B58 4268 E648 clr.w [A0 - 0x19B8]
00001B5C 5247 addq.w D7, 1
label00001B5E:
00001B5E 0C47 001A cmpi.w D7, 0x1A
00001B62 6DEE blt -0x10 /* 00001B52 */
00001B64 422D E634 clr.b [A5 - 0x19CC]
00001B68 302D E7A8 move.w D0, [A5 - 0x1858]
00001B6C 3B40 E680 move.w [A5 - 0x1980], D0
00001B70 3B40 E67C move.w [A5 - 0x1984], D0
00001B74 4EBA 084C jsr [PC + 0x84C /* 000023C2 */]
00001B78 2E1F move.l D7, [A7]+
00001B7A 4E75 rts
fn00001B7C:
00001B7C 4E56 FFF4 link A6, -0x000C
00001B80 486E FFFC pea.l [A6 - 0x4]
00001B84 A874 syscall GetPort
00001B86 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001B8A A873 syscall SetPort
00001B8C 2D6D E69A FFF4 move.l [A6 - 0xC], [A5 - 0x1966]
00001B92 2D6D E69E FFF8 move.l [A6 - 0x8], [A5 - 0x1962]
00001B98 066E 0023 FFF4 addi.w [A6 - 0xC], 0x23 /* '#' */
00001B9E 4878 00CD push.l 0xCD
00001BA2 A862 syscall ForeColor
00001BA4 486E FFF4 pea.l [A6 - 0xC]
00001BA8 486D F9B4 pea.l [A5 - 0x64C]
00001BAC A8A5 syscall FillRect
00001BAE 4878 0021 push.l 0x21 /* '!' */
00001BB2 A862 syscall ForeColor
00001BB4 2F3C 0002 0002 move.l -[A7], 0x20002
00001BBA A89B syscall PenSize
00001BBC 486D E69A pea.l [A5 - 0x1966]
00001BC0 A8A1 syscall FrameRect
00001BC2 2F3C 00E9 0000 move.l -[A7], 0xE90000
00001BC8 A893 syscall MoveTo
00001BCA 2F3C 00E9 01D1 move.l -[A7], 0xE901D1
00001BD0 A891 syscall LineTo
00001BD2 A89E syscall PenNormal
00001BD4 4EBA 0018 jsr [PC + 0x18 /* 00001BEE */]
00001BD8 4EBA 0030 jsr [PC + 0x30 /* 00001C0A */]
00001BDC 4EBA 021C jsr [PC + 0x21C /* 00001DFA */]
00001BE0 4EBA 134A jsr [PC + 0x134A /* 00002F2C */]
00001BE4 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001BE8 A873 syscall SetPort
00001BEA 4E5E unlink A6
00001BEC 4E75 rts
fn00001BEE:
00001BEE 2F07 move.l -[A7], D7
00001BF0 7E00 moveq.l D7, 0x00
00001BF2 600C bra +0xE /* 00001C00 */
label00001BF4:
00001BF4 4267 clr.w -[A7]
00001BF6 3F07 move.w -[A7], D7
00001BF8 4EBA 0DA4 jsr [PC + 0xDA4 /* 0000299E */]
00001BFC 588F addq.l A7, 4
00001BFE 5247 addq.w D7, 1
label00001C00:
00001C00 0C47 001A cmpi.w D7, 0x1A
00001C04 6DEE blt -0x10 /* 00001BF4 */
00001C06 2E1F move.l D7, [A7]+
00001C08 4E75 rts
fn00001C0A:
00001C0A 4E56 FEEA link A6, -0x0116
00001C0E 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00001C12 7600 moveq.l D3, 0x00
00001C14 486E FFFC pea.l [A6 - 0x4]
00001C18 A874 syscall GetPort
00001C1A 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001C1E A873 syscall SetPort
00001C20 486D E68A pea.l [A5 - 0x1976]
00001C24 A8A3 syscall EraseRect
00001C26 486D E68A pea.l [A5 - 0x1976]
00001C2A A8A1 syscall FrameRect
00001C2C 3A2D E680 move.w D5, [A5 - 0x1980]
00001C30 3E2D E690 move.w D7, [A5 - 0x1970]
00001C34 9E6D E68C sub.w D7, [A5 - 0x1974]
00001C38 7001 moveq.l D0, 0x01
00001C3A D045 add.w D0, D5
00001C3C 2C07 move.l D6, D7
00001C3E 48C6 ext.l D6
00001C40 8DC0 divs.w D6, D0
00001C42 5946 subq.w D6, 4
00001C44 486E FEF4 pea.l [A6 - 0x10C]
00001C48 42A7 clr.l -[A7]
00001C4A 3F06 move.w -[A7], D6
00001C4C 302D E68E move.w D0, [A5 - 0x1972]
00001C50 906D E68A sub.w D0, [A5 - 0x1976]
00001C54 5940 subq.w D0, 4
00001C56 3F00 move.w -[A7], D0
00001C58 A8A7 syscall SetRect
00001C5A 7004 moveq.l D0, 0x04
00001C5C D046 add.w D0, D6
00001C5E C1C5 muls.w D0, D5
00001C60 7204 moveq.l D1, 0x04
00001C62 D247 add.w D1, D7
00001C64 9240 sub.w D1, D0
00001C66 48C1 ext.l D1
00001C68 83FC 0002 divs.w D1, 0x2
00001C6C 3D41 FEEA move.w [A6 - 0x116], D1
00001C70 7800 moveq.l D4, 0x00
00001C72 6072 bra +0x74 /* 00001CE6 */
label00001C74:
00001C74 2D6E FEF4 FEEC move.l [A6 - 0x114], [A6 - 0x10C]
00001C7A 2D6E FEF8 FEF0 move.l [A6 - 0x110], [A6 - 0x108]
00001C80 486E FEEC pea.l [A6 - 0x114]
00001C84 302D E68C move.w D0, [A5 - 0x1974]
00001C88 D06E FEEA add.w D0, [A6 - 0x116]
00001C8C 7204 moveq.l D1, 0x04
00001C8E D246 add.w D1, D6
00001C90 C3C4 muls.w D1, D4
00001C92 D041 add.w D0, D1
00001C94 3F00 move.w -[A7], D0
00001C96 7002 moveq.l D0, 0x02
00001C98 D06D E68A add.w D0, [A5 - 0x1976]
00001C9C 3F00 move.w -[A7], D0
00001C9E A8A8 syscall OffsetRect
00001CA0 5243 addq.w D3, 1
00001CA2 0C43 0008 cmpi.w D3, 0x8
00001CA6 6602 bne +0x4 /* 00001CAA */
00001CA8 7600 moveq.l D3, 0x00
label00001CAA:
00001CAA 204D movea.l A0, A5
00001CAC 2003 move.l D0, D3
00001CAE 48C0 ext.l D0
00001CB0 E588 lsl D0, 2
00001CB2 D1C0 add.l A0, D0
00001CB4 701E moveq.l D0, 0x1E
00001CB6 B0A8 E60A cmp.l D0, [A0 - 0x19F6]
00001CBA 6602 bne +0x4 /* 00001CBE */
00001CBC 5243 addq.w D3, 1
label00001CBE:
00001CBE 204D movea.l A0, A5
00001CC0 2003 move.l D0, D3
00001CC2 48C0 ext.l D0
00001CC4 E588 lsl D0, 2
00001CC6 D1C0 add.l A0, D0
00001CC8 2F28 E60A move.l -[A7], [A0 - 0x19F6]
00001CCC A862 syscall ForeColor
00001CCE 486E FEEC pea.l [A6 - 0x114]
00001CD2 486D F9AC pea.l [A5 - 0x654]
00001CD6 A8A5 syscall FillRect
00001CD8 4878 0021 push.l 0x21 /* '!' */
00001CDC A862 syscall ForeColor
00001CDE 486E FEEC pea.l [A6 - 0x114]
00001CE2 A8A1 syscall FrameRect
00001CE4 5244 addq.w D4, 1
label00001CE6:
00001CE6 B86D E67C cmp.w D4, [A5 - 0x1984]
00001CEA 6D88 blt -0x76 /* 00001C74 */
00001CEC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001CF0 A873 syscall SetPort
00001CF2 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
00001CF6 4E5E unlink A6
00001CF8 4E75 rts
fn00001CFA:
00001CFA 4E56 0000 link A6, 0
00001CFE 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00001D02 7A00 moveq.l D5, 0x00
00001D04 7C00 moveq.l D6, 0x00
00001D06 7E00 moveq.l D7, 0x00
00001D08 6022 bra +0x24 /* 00001D2C */
label00001D0A:
00001D0A 204D movea.l A0, A5
00001D0C D0C7 add.w A0, D7
00001D0E 1828 E634 move.b D4, [A0 - 0x19CC]
00001D12 4884 ext.w D4
00001D14 0644 FFBF addi.w D4, 0xFFBF
00001D18 B86E 0008 cmp.w D4, [A6 + 0x8]
00001D1C 660C bne +0xE /* 00001D2A */
00001D1E 7C01 moveq.l D6, 0x01
00001D20 4267 clr.w -[A7]
00001D22 4EBA F9C2 jsr [PC - 0x63E /* 000016E6 */]
00001D26 548F addq.l A7, 2
00001D28 6008 bra +0xA /* 00001D32 */
label00001D2A:
00001D2A 5247 addq.w D7, 1
label00001D2C:
00001D2C BE6D E646 cmp.w D7, [A5 - 0x19BA]
00001D30 6DD8 blt -0x26 /* 00001D0A */
label00001D32:
00001D32 4A46 tst.w D6
00001D34 661A bne +0x1C /* 00001D50 */
00001D36 3F3C 0001 move.w -[A7], 0x1
00001D3A 4EBA F9AA jsr [PC - 0x656 /* 000016E6 */]
00001D3E 536D E67C subq.w [A5 - 0x1984], 1
00001D42 4EBA 0198 jsr [PC + 0x198 /* 00001EDC */]
00001D46 4EBA FEC2 jsr [PC - 0x13E /* 00001C0A */]
00001D4A 4EBA 0568 jsr [PC + 0x568 /* 000022B4 */]
00001D4E 548F addq.l A7, 2
label00001D50:
00001D50 7A00 moveq.l D5, 0x00
00001D52 7E00 moveq.l D7, 0x00
00001D54 6026 bra +0x28 /* 00001D7C */
label00001D56:
00001D56 204D movea.l A0, A5
00001D58 D0C7 add.w A0, D7
00001D5A 1828 E634 move.b D4, [A0 - 0x19CC]
00001D5E 4884 ext.w D4
00001D60 0644 FFBF addi.w D4, 0xFFBF
00001D64 0C44 FFDF cmpi.w D4, 0xFFDF
00001D68 6710 beq +0x12 /* 00001D7A */
00001D6A 204D movea.l A0, A5
00001D6C D0C4 add.w A0, D4
00001D6E D0C4 add.w A0, D4
00001D70 0C68 0001 E648 cmpi.w [A0 - 0x19B8], 0x1
00001D76 6702 beq +0x4 /* 00001D7A */
00001D78 7A01 moveq.l D5, 0x01
label00001D7A:
00001D7A 5247 addq.w D7, 1
label00001D7C:
00001D7C BE6D E646 cmp.w D7, [A5 - 0x19BA]
00001D80 6DD4 blt -0x2A /* 00001D56 */
00001D82 4EBA 0226 jsr [PC + 0x226 /* 00001FAA */]
00001D86 5340 subq.w D0, 1
00001D88 6604 bne +0x6 /* 00001D8E */
00001D8A 4EBA 1310 jsr [PC + 0x1310 /* 0000309C */]
label00001D8E:
00001D8E 4A45 tst.w D5
00001D90 6604 bne +0x6 /* 00001D96 */
00001D92 7001 moveq.l D0, 0x01
00001D94 600C bra +0xE /* 00001DA2 */
label00001D96:
00001D96 4A6D E67C tst.w [A5 - 0x1984]
00001D9A 6604 bne +0x6 /* 00001DA0 */
00001D9C 7002 moveq.l D0, 0x02
00001D9E 6002 bra +0x4 /* 00001DA2 */
label00001DA0:
00001DA0 7000 moveq.l D0, 0x00
label00001DA2:
00001DA2 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00001DA6 4E5E unlink A6
00001DA8 4E75 rts
fn00001DAA:
00001DAA 4E56 FFFA link A6, -0x0006
00001DAE 486E FFFC pea.l [A6 - 0x4]
00001DB2 A874 syscall GetPort
00001DB4 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001DB8 A873 syscall SetPort
00001DBA 4EBA 12CC jsr [PC + 0x12CC /* 00003088 */]
00001DBE 4EBA FD88 jsr [PC - 0x278 /* 00001B48 */]
00001DC2 486D F6D6 pea.l [A5 - 0x92A]
00001DC6 A928 syscall InvalRect
00001DC8 486D E682 pea.l [A5 - 0x197E]
00001DCC A928 syscall InvalRect
00001DCE 486D E68A pea.l [A5 - 0x1976]
00001DD2 A928 syscall InvalRect
00001DD4 4EBA FE18 jsr [PC - 0x1E8 /* 00001BEE */]
00001DD8 0C6D 0001 E67E cmpi.w [A5 - 0x1982], 0x1
00001DDE 6606 bne +0x8 /* 00001DE6 */
00001DE0 4EBA 1696 jsr [PC + 0x1696 /* 00003478 */]
00001DE4 6004 bra +0x6 /* 00001DEA */
label00001DE6:
00001DE6 4EBA F99E jsr [PC - 0x662 /* 00001786 */]
label00001DEA:
00001DEA 486D E682 pea.l [A5 - 0x197E]
00001DEE A928 syscall InvalRect
00001DF0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001DF4 A873 syscall SetPort
00001DF6 4E5E unlink A6
00001DF8 4E75 rts
fn00001DFA:
00001DFA 4E56 FFFC link A6, -0x0004
00001DFE 48E7 0300 movem.l -[A7], D6,D7
00001E02 486E FFFC pea.l [A6 - 0x4]
00001E06 A874 syscall GetPort
00001E08 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001E0C A873 syscall SetPort
00001E0E 302D E62E move.w D0, [A5 - 0x19D2]
00001E12 204D movea.l A0, A5
00001E14 48C0 ext.l D0
00001E16 E588 lsl D0, 2
00001E18 D1C0 add.l A0, D0
00001E1A 2F28 E60A move.l -[A7], [A0 - 0x19F6]
00001E1E A862 syscall ForeColor
00001E20 7E00 moveq.l D7, 0x00
00001E22 603E bra +0x40 /* 00001E62 */
label00001E24:
00001E24 204D movea.l A0, A5
00001E26 D0C7 add.w A0, D7
00001E28 0C28 0020 E634 cmpi.b [A0 - 0x19CC], 0x20 /* ' ' */
00001E2E 6730 beq +0x32 /* 00001E60 */
00001E30 2F3C 0002 0002 move.l -[A7], 0x20002
00001E36 A89B syscall PenSize
00001E38 701C moveq.l D0, 0x1C
00001E3A C1C7 muls.w D0, D7
00001E3C 0640 000C addi.w D0, 0xC
00001E40 3F00 move.w -[A7], D0
00001E42 3F3C 00E4 move.w -[A7], 0xE4
00001E46 A893 syscall MoveTo
00001E48 701C moveq.l D0, 0x1C
00001E4A C1C7 muls.w D0, D7
00001E4C 0640 001B addi.w D0, 0x1B
00001E50 3F00 move.w -[A7], D0
00001E52 3F3C 00E4 move.w -[A7], 0xE4
00001E56 A891 syscall LineTo
00001E58 2F3C 0001 0001 move.l -[A7], 0x10001
00001E5E A89B syscall PenSize
label00001E60:
00001E60 5247 addq.w D7, 1
label00001E62:
00001E62 BE6D E646 cmp.w D7, [A5 - 0x19BA]
00001E66 6DBC blt -0x42 /* 00001E24 */
00001E68 7E00 moveq.l D7, 0x00
00001E6A 6056 bra +0x58 /* 00001EC2 */
label00001E6C:
00001E6C 204D movea.l A0, A5
00001E6E D0C7 add.w A0, D7
00001E70 1C28 E634 move.b D6, [A0 - 0x19CC]
00001E74 0C06 0020 cmpi.b D6, 0x20 /* ' ' */
00001E78 6746 beq +0x48 /* 00001EC0 */
00001E7A 204D movea.l A0, A5
00001E7C D0C7 add.w A0, D7
00001E7E 70BF moveq.l D0, 0xFFFFFFBF
00001E80 D028 E634 add.b D0, [A0 - 0x19CC]
00001E84 1C00 move.b D6, D0
00001E86 1006 move.b D0, D6
00001E88 4880 ext.w D0
00001E8A 204D movea.l A0, A5
00001E8C D0C0 add.w A0, D0
00001E8E D0C0 add.w A0, D0
00001E90 0C68 0001 E648 cmpi.w [A0 - 0x19B8], 0x1
00001E96 6628 bne +0x2A /* 00001EC0 */
00001E98 2F3C 0001 0000 move.l -[A7], 0x10000
00001E9E 2F3C 0001 0003 move.l -[A7], 0x10003
00001EA4 3F3C 00CE move.w -[A7], 0xCE
00001EA8 701C moveq.l D0, 0x1C
00001EAA C1C7 muls.w D0, D7
00001EAC 0640 000A addi.w D0, 0xA /* '\n' */
00001EB0 3F00 move.w -[A7], D0
00001EB2 1006 move.b D0, D6
00001EB4 4880 ext.w D0
00001EB6 3F00 move.w -[A7], D0
00001EB8 4EBA 0F32 jsr [PC + 0xF32 /* 00002DEC */]
00001EBC 4FEF 000E lea.l A7, [A7 + 0xE]
label00001EC0:
00001EC0 5247 addq.w D7, 1
label00001EC2:
00001EC2 BE6D E646 cmp.w D7, [A5 - 0x19BA]
00001EC6 6DA4 blt -0x5A /* 00001E6C */
00001EC8 4878 0021 push.l 0x21 /* '!' */
00001ECC A862 syscall ForeColor
00001ECE 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001ED2 A873 syscall SetPort
00001ED4 4CDF 00C0 movem.l D6,D7, [A7]+
00001ED8 4E5E unlink A6
00001EDA 4E75 rts
fn00001EDC:
00001EDC 4E56 FFFA link A6, -0x0006
00001EE0 2F07 move.l -[A7], D7
00001EE2 486E FFFA pea.l [A6 - 0x6]
00001EE6 A874 syscall GetPort
00001EE8 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001EEC A873 syscall SetPort
00001EEE A89E syscall PenNormal
00001EF0 7E00 moveq.l D7, 0x00
00001EF2 601E bra +0x20 /* 00001F12 */
label00001EF4:
00001EF4 3F3C 0001 move.w -[A7], 0x1
00001EF8 4EBA 009C jsr [PC + 0x9C /* 00001F96 */]
00001EFC 486D E68A pea.l [A5 - 0x1976]
00001F00 2F3C 0001 0001 move.l -[A7], 0x10001
00001F06 A8A9 syscall InsetRect
00001F08 486D E68A pea.l [A5 - 0x1976]
00001F0C A8A1 syscall FrameRect
00001F0E 548F addq.l A7, 2
00001F10 5247 addq.w D7, 1
label00001F12:
00001F12 0C47 000A cmpi.w D7, 0xA /* '\n' */
00001F16 6DDC blt -0x22 /* 00001EF4 */
00001F18 486D F9CC pea.l [A5 - 0x634]
00001F1C A89D syscall PenPat
00001F1E 7E00 moveq.l D7, 0x00
00001F20 601C bra +0x1E /* 00001F3E */
label00001F22:
00001F22 3F3C 0001 move.w -[A7], 0x1
00001F26 4EBA 006E jsr [PC + 0x6E /* 00001F96 */]
00001F2A 486D E68A pea.l [A5 - 0x1976]
00001F2E 4878 FFFF push.l 0xFFFF
00001F32 A8A9 syscall InsetRect
00001F34 486D E68A pea.l [A5 - 0x1976]
00001F38 A8A1 syscall FrameRect
00001F3A 548F addq.l A7, 2
00001F3C 5247 addq.w D7, 1
label00001F3E:
00001F3E 0C47 000A cmpi.w D7, 0xA /* '\n' */
00001F42 6DDE blt -0x20 /* 00001F22 */
00001F44 A89E syscall PenNormal
00001F46 2F2E FFFA move.l -[A7], [A6 - 0x6]
00001F4A A873 syscall SetPort
00001F4C 2E1F move.l D7, [A7]+
00001F4E 4E5E unlink A6
00001F50 4E75 rts
fn00001F52:
00001F52 4E56 FFFC link A6, -0x0004
00001F56 2F07 move.l -[A7], D7
00001F58 486E FFFC pea.l [A6 - 0x4]
00001F5C A874 syscall GetPort
00001F5E 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001F62 A873 syscall SetPort
00001F64 4EBA FE94 jsr [PC - 0x16C /* 00001DFA */]
00001F68 7E00 moveq.l D7, 0x00
00001F6A 6012 bra +0x14 /* 00001F7E */
label00001F6C:
00001F6C 486D E682 pea.l [A5 - 0x197E]
00001F70 A8A4 syscall InvertRect
00001F72 3F3C 0014 move.w -[A7], 0x14
00001F76 4EBA 001E jsr [PC + 0x1E /* 00001F96 */]
00001F7A 548F addq.l A7, 2
00001F7C 5247 addq.w D7, 1
label00001F7E:
00001F7E 0C47 000A cmpi.w D7, 0xA /* '\n' */
00001F82 6DE8 blt -0x16 /* 00001F6C */
00001F84 486D E682 pea.l [A5 - 0x197E]
00001F88 A8A3 syscall EraseRect
00001F8A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001F8E A873 syscall SetPort
00001F90 2E1F move.l D7, [A7]+
00001F92 4E5E unlink A6
00001F94 4E75 rts
fn00001F96:
00001F96 4E56 FFFC link A6, -0x0004
00001F9A 306E 0008 movea.w A0, [A6 + 0x8]
00001F9E 43EE FFFC lea.l A1, [A6 - 0x4]
00001FA2 A03B syscall Delay
00001FA4 2280 move.l [A1], D0
00001FA6 4E5E unlink A6
00001FA8 4E75 rts
fn00001FAA:
00001FAA 48E7 0300 movem.l -[A7], D6,D7
00001FAE 7C00 moveq.l D6, 0x00
00001FB0 7E00 moveq.l D7, 0x00
00001FB2 6012 bra +0x14 /* 00001FC6 */
label00001FB4:
00001FB4 204D movea.l A0, A5
00001FB6 D0C7 add.w A0, D7
00001FB8 D0C7 add.w A0, D7
00001FBA 0C68 0001 E648 cmpi.w [A0 - 0x19B8], 0x1
00001FC0 6602 bne +0x4 /* 00001FC4 */
00001FC2 5246 addq.w D6, 1
label00001FC4:
00001FC4 5247 addq.w D7, 1
label00001FC6:
00001FC6 0C47 001A cmpi.w D7, 0x1A
00001FCA 6DE8 blt -0x16 /* 00001FB4 */
00001FCC 3006 move.w D0, D6
00001FCE 4CDF 00C0 movem.l D6,D7, [A7]+
00001FD2 4E75 rts
fn00001FD4:
00001FD4 4E56 FFFC link A6, -0x0004
00001FD8 486E FFFC pea.l [A6 - 0x4]
00001FDC A874 syscall GetPort
00001FDE 2F2D E792 move.l -[A7], [A5 - 0x186E]
00001FE2 A873 syscall SetPort
00001FE4 302D E630 move.w D0, [A5 - 0x19D0]
00001FE8 204D movea.l A0, A5
00001FEA 48C0 ext.l D0
00001FEC E588 lsl D0, 2
00001FEE D1C0 add.l A0, D0
00001FF0 2F28 E60A move.l -[A7], [A0 - 0x19F6]
00001FF4 A863 syscall BackColor
00001FF6 486D E682 pea.l [A5 - 0x197E]
00001FFA A8A3 syscall EraseRect
00001FFC 4878 001E push.l 0x1E
00002000 A863 syscall BackColor
00002002 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002006 A873 syscall SetPort
00002008 4E5E unlink A6
0000200A 4E75 rts
0000200C 4267 clr.w -[A7]
0000200E A889 syscall TextMode
00002010 4267 clr.w -[A7]
00002012 A888 syscall TextFace
00002014 4267 clr.w -[A7]
00002016 A887 syscall TextFont
00002018 3F3C 000C move.w -[A7], 0xC
0000201C A88A syscall TextSize
0000201E 4E75 rts
fn00002020:
00002020 4E56 FFF2 link A6, -0x000E
00002024 2F07 move.l -[A7], D7
00002026 486E FFFA pea.l [A6 - 0x6]
0000202A A874 syscall GetPort
0000202C 2F2D E792 move.l -[A7], [A5 - 0x186E]
00002030 A873 syscall SetPort
00002032 486D E692 pea.l [A5 - 0x196E]
00002036 A8A3 syscall EraseRect
00002038 4878 0021 push.l 0x21 /* '!' */
0000203C A862 syscall ForeColor
0000203E 486D E692 pea.l [A5 - 0x196E]
00002042 A8A1 syscall FrameRect
00002044 486D E692 pea.l [A5 - 0x196E]
00002048 2F3C 0001 0001 move.l -[A7], 0x10001
0000204E A8A9 syscall InsetRect
00002050 4878 00CD push.l 0xCD
00002054 A862 syscall ForeColor
00002056 2D6D E692 FFF2 move.l [A6 - 0xE], [A5 - 0x196E]
0000205C 2D6D E696 FFF6 move.l [A6 - 0xA], [A5 - 0x196A]
00002062 700E moveq.l D0, 0x0E
00002064 D06E FFF2 add.w D0, [A6 - 0xE]
00002068 3D40 FFF6 move.w [A6 - 0xA], D0
0000206C 486E FFF2 pea.l [A6 - 0xE]
00002070 486D F9B4 pea.l [A5 - 0x64C]
00002074 A8A5 syscall FillRect
00002076 2D6D E692 FFF2 move.l [A6 - 0xE], [A5 - 0x196E]
0000207C 2D6D E696 FFF6 move.l [A6 - 0xA], [A5 - 0x196A]
00002082 70F2 moveq.l D0, 0xFFFFFFF2
00002084 D06E FFF6 add.w D0, [A6 - 0xA]
00002088 3D40 FFF2 move.w [A6 - 0xE], D0
0000208C 486E FFF2 pea.l [A6 - 0xE]
00002090 486D F9B4 pea.l [A5 - 0x64C]
00002094 A8A5 syscall FillRect
00002096 2D6D E692 FFF2 move.l [A6 - 0xE], [A5 - 0x196E]
0000209C 2D6D E696 FFF6 move.l [A6 - 0xA], [A5 - 0x196A]
000020A2 700E moveq.l D0, 0x0E
000020A4 D06E FFF4 add.w D0, [A6 - 0xC]
000020A8 3D40 FFF8 move.w [A6 - 0x8], D0
000020AC 486E FFF2 pea.l [A6 - 0xE]
000020B0 486D F9B4 pea.l [A5 - 0x64C]
000020B4 A8A5 syscall FillRect
000020B6 2D6D E692 FFF2 move.l [A6 - 0xE], [A5 - 0x196E]
000020BC 2D6D E696 FFF6 move.l [A6 - 0xA], [A5 - 0x196A]
000020C2 70F2 moveq.l D0, 0xFFFFFFF2
000020C4 D06E FFF8 add.w D0, [A6 - 0x8]
000020C8 3D40 FFF4 move.w [A6 - 0xC], D0
000020CC 486E FFF2 pea.l [A6 - 0xE]
000020D0 486D F9B4 pea.l [A5 - 0x64C]
000020D4 A8A5 syscall FillRect
000020D6 2D6D E692 FFF2 move.l [A6 - 0xE], [A5 - 0x196E]
000020DC 2D6D E696 FFF6 move.l [A6 - 0xA], [A5 - 0x196A]
000020E2 486E FFF2 pea.l [A6 - 0xE]
000020E6 2F3C 0006 0006 move.l -[A7], 0x60006
000020EC A8A9 syscall InsetRect
000020EE 4878 0021 push.l 0x21 /* '!' */
000020F2 A862 syscall ForeColor
000020F4 2F3C 0002 0002 move.l -[A7], 0x20002
000020FA A89B syscall PenSize
000020FC 486E FFF2 pea.l [A6 - 0xE]
00002100 A8A1 syscall FrameRect
00002102 2F3C 0001 0001 move.l -[A7], 0x10001
00002108 A89B syscall PenSize
0000210A 486D E692 pea.l [A5 - 0x196E]
0000210E 2F3C 000E 000E move.l -[A7], 0xE000E
00002114 A8A9 syscall InsetRect
00002116 4878 0021 push.l 0x21 /* '!' */
0000211A A862 syscall ForeColor
0000211C 486D E692 pea.l [A5 - 0x196E]
00002120 A8A1 syscall FrameRect
00002122 486D E692 pea.l [A5 - 0x196E]
00002126 2F3C 0001 0001 move.l -[A7], 0x10001
0000212C A8A9 syscall InsetRect
0000212E A89E syscall PenNormal
00002130 2B6D E692 F6D6 move.l [A5 - 0x92A], [A5 - 0x196E]
00002136 2B6D E696 F6DA move.l [A5 - 0x926], [A5 - 0x196A]
0000213C 7E00 moveq.l D7, 0x00
0000213E 600C bra +0xE /* 0000214C */
label00002140:
00002140 486D E692 pea.l [A5 - 0x196E]
00002144 4878 FFFF push.l 0xFFFF
00002148 A8A9 syscall InsetRect
0000214A 5247 addq.w D7, 1
label0000214C:
0000214C 0C47 0010 cmpi.w D7, 0x10
00002150 6DEE blt -0x10 /* 00002140 */
00002152 302D E680 move.w D0, [A5 - 0x1980]
00002156 B06D E67C cmp.w D0, [A5 - 0x1984]
0000215A 6670 bne +0x72 /* 000021CC */
0000215C 2D6D F6D6 FFF2 move.l [A6 - 0xE], [A5 - 0x92A]
00002162 2D6D F6DA FFF6 move.l [A6 - 0xA], [A5 - 0x926]
00002168 4878 00CD push.l 0xCD
0000216C A862 syscall ForeColor
0000216E 486E FFF2 pea.l [A6 - 0xE]
00002172 486D F9AC pea.l [A5 - 0x654]
00002176 A8A5 syscall FillRect
00002178 486E FFF2 pea.l [A6 - 0xE]
0000217C 2F3C 0014 0028 move.l -[A7], 0x140028
00002182 A8A9 syscall InsetRect
00002184 4878 0021 push.l 0x21 /* '!' */
00002188 A862 syscall ForeColor
0000218A 2F3C 0004 0004 move.l -[A7], 0x40004
00002190 A89B syscall PenSize
00002192 486E FFF2 pea.l [A6 - 0xE]
00002196 2F3C 0037 0037 move.l -[A7], 0x370037 /* '7\07' */
0000219C A8B0 syscall FrameRoundRect
0000219E 486E FFF2 pea.l [A6 - 0xE]
000021A2 2F3C 0003 0003 move.l -[A7], 0x30003
000021A8 A8A9 syscall InsetRect
000021AA A89E syscall PenNormal
000021AC 4878 0199 push.l 0x199
000021B0 A862 syscall ForeColor
000021B2 486E FFF2 pea.l [A6 - 0xE]
000021B6 2F3C 0032 0032 move.l -[A7], 0x320032 /* '2\02' */
000021BC 486D F9B4 pea.l [A5 - 0x64C]
000021C0 A8B4 syscall FillRoundRect
000021C2 4878 0021 push.l 0x21 /* '!' */
000021C6 A862 syscall ForeColor
000021C8 4EBA 000E jsr [PC + 0xE /* 000021D8 */]
label000021CC:
000021CC 2F2E FFFA move.l -[A7], [A6 - 0x6]
000021D0 A873 syscall SetPort
000021D2 2E1F move.l D7, [A7]+
000021D4 4E5E unlink A6
000021D6 4E75 rts
fn000021D8:
000021D8 4E56 FFF4 link A6, -0x000C
000021DC 48E7 0108 movem.l -[A7], D7,A4
000021E0 4878 0021 push.l 0x21 /* '!' */
000021E4 A862 syscall ForeColor
000021E6 4878 001E push.l 0x1E
000021EA A863 syscall BackColor
000021EC 7E00 moveq.l D7, 0x00
000021EE 6000 00B4 bra +0xB6 /* 000022A4 */
label000021F2:
000021F2 700A moveq.l D0, 0x0A
000021F4 C1C7 muls.w D0, D7
000021F6 204D movea.l A0, A5
000021F8 D1C0 add.l A0, D0
000021FA 3D68 F66A FFFA move.w [A6 - 0x6], [A0 - 0x996]
00002200 700A moveq.l D0, 0x0A
00002202 C1C7 muls.w D0, D7
00002204 204D movea.l A0, A5
00002206 D1C0 add.l A0, D0
00002208 3D68 F66C FFF8 move.w [A6 - 0x8], [A0 - 0x994]
0000220E 7020 moveq.l D0, 0x20
00002210 D06E FFFA add.w D0, [A6 - 0x6]
00002214 3D40 FFFE move.w [A6 - 0x2], D0
00002218 7020 moveq.l D0, 0x20
0000221A D06E FFF8 add.w D0, [A6 - 0x8]
0000221E 3D40 FFFC move.w [A6 - 0x4], D0
00002222 0C47 0007 cmpi.w D7, 0x7
00002226 6C0E bge +0x10 /* 00002236 */
00002228 486E FFF8 pea.l [A6 - 0x8]
0000222C 2F3C 003C 005F move.l -[A7], 0x3C005F /* '<\0_' */
00002232 A8A8 syscall OffsetRect
00002234 600C bra +0xE /* 00002242 */
label00002236:
00002236 486E FFF8 pea.l [A6 - 0x8]
0000223A 2F3C 003C 009B move.l -[A7], 0x3C009B
00002240 A8A8 syscall OffsetRect
label00002242:
00002242 42A7 clr.l -[A7]
00002244 700A moveq.l D0, 0x0A
00002246 C1C7 muls.w D0, D7
00002248 204D movea.l A0, A5
0000224A D1C0 add.l A0, D0
0000224C 1028 F668 move.b D0, [A0 - 0x998]
00002250 4880 ext.w D0
00002252 0640 00EC addi.w D0, 0xEC
00002256 3F00 move.w -[A7], D0
00002258 A9BB syscall GetIcon
0000225A 285F movea.l A4, [A7]+
0000225C 200C move.l D0, A4
0000225E 6732 beq +0x34 /* 00002292 */
00002260 4EBA F18C jsr [PC - 0xE74 /* 000013EE */]
00002264 4A40 tst.w D0
00002266 670E beq +0x10 /* 00002276 */
00002268 700A moveq.l D0, 0x0A
0000226A C1C7 muls.w D0, D7
0000226C 204D movea.l A0, A5
0000226E D1C0 add.l A0, D0
00002270 2F28 F66E move.l -[A7], [A0 - 0x992]
00002274 A862 syscall ForeColor
label00002276:
00002276 204C movea.l A0, A4
00002278 A029 syscall HLock
0000227A 486E FFF8 pea.l [A6 - 0x8]
0000227E 2F0C move.l -[A7], A4
00002280 A94B syscall PlotIcon
00002282 204C movea.l A0, A4
00002284 A02A syscall HUnlock
00002286 4878 0021 push.l 0x21 /* '!' */
0000228A A862 syscall ForeColor
0000228C 4878 001E push.l 0x1E
00002290 A863 syscall BackColor
label00002292:
00002292 2F3C 0002 0002 move.l -[A7], 0x20002
00002298 A89B syscall PenSize
0000229A 486E FFF8 pea.l [A6 - 0x8]
0000229E A8A1 syscall FrameRect
000022A0 A89E syscall PenNormal
000022A2 5247 addq.w D7, 1
label000022A4:
000022A4 0C47 000B cmpi.w D7, 0xB
000022A8 6D00 FF48 blt -0xB6 /* 000021F2 */
000022AC 4CDF 1080 movem.l D7,A4, [A7]+
000022B0 4E5E unlink A6
000022B2 4E75 rts
fn000022B4:
000022B4 4E56 FFFE link A6, -0x0002
000022B8 2F07 move.l -[A7], D7
000022BA 302D E680 move.w D0, [A5 - 0x1980]
000022BE 5D40 subq.w D0, 6
000022C0 0C40 0006 cmpi.w D0, 0x6
000022C4 6200 00D0 bhi +0xD2 /* 00002396 */
000022C8 43FA 00EA lea.l A1, [PC + 0xEA /* 000023B4, value 0xFF20FFE2 */]
000022CC D040 add.w D0, D0
000022CE D2F1 0000 add.w A1, [A1 + D0.w]
000022D2 4ED1 jmp [A1]
000022D4 0C6D 0005 E67C cmpi.w [A5 - 0x1984], 0x5
000022DA 6600 00BA bne +0xBC /* 00002396 */
000022DE 7E0B moveq.l D7, 0x0B
000022E0 600E bra +0x10 /* 000022F0 */
label000022E2:
000022E2 3F3C 0001 move.w -[A7], 0x1
000022E6 3F07 move.w -[A7], D7
000022E8 4EBA 0244 jsr [PC + 0x244 /* 0000252E */]
000022EC 588F addq.l A7, 4
000022EE 5347 subq.w D7, 1
label000022F0:
000022F0 0C47 0006 cmpi.w D7, 0x6
000022F4 6CEC bge -0x12 /* 000022E2 */
000022F6 6000 009E bra +0xA0 /* 00002396 */
000022FA 302D E67C move.w D0, [A5 - 0x1984]
000022FE 6B00 0096 bmi +0x98 /* 00002396 */
00002302 5F40 subq.w D0, 7
00002304 670C beq +0xE /* 00002312 */
00002306 6A00 008E bpl +0x90 /* 00002396 */
0000230A 5240 addq.w D0, 1
0000230C 6A1E bpl +0x20 /* 0000232C */
0000230E 6000 0086 bra +0x88 /* 00002396 */
label00002312:
00002312 7E0B moveq.l D7, 0x0B
00002314 600E bra +0x10 /* 00002324 */
label00002316:
00002316 3F3C 0001 move.w -[A7], 0x1
0000231A 3F07 move.w -[A7], D7
0000231C 4EBA 0210 jsr [PC + 0x210 /* 0000252E */]
00002320 588F addq.l A7, 4
00002322 5347 subq.w D7, 1
label00002324:
00002324 0C47 0007 cmpi.w D7, 0x7
00002328 6CEC bge -0x12 /* 00002316 */
0000232A 606A bra +0x6C /* 00002396 */
label0000232C:
0000232C 2F3C 0006 0001 move.l -[A7], 0x60001
00002332 4EBA 01FA jsr [PC + 0x1FA /* 0000252E */]
00002336 588F addq.l A7, 4
00002338 605C bra +0x5E /* 00002396 */
0000233A 302D E67C move.w D0, [A5 - 0x1984]
0000233E 6B56 bmi +0x58 /* 00002396 */
00002340 0440 0009 subi.w D0, 0x9 /* '\t' */
00002344 6708 beq +0xA /* 0000234E */
00002346 6A4E bpl +0x50 /* 00002396 */
00002348 5640 addq.w D0, 3
0000234A 6A1C bpl +0x1E /* 00002368 */
0000234C 6048 bra +0x4A /* 00002396 */
label0000234E:
0000234E 7E0B moveq.l D7, 0x0B
00002350 600E bra +0x10 /* 00002360 */
label00002352:
00002352 3F3C 0001 move.w -[A7], 0x1
00002356 3F07 move.w -[A7], D7
00002358 4EBA 01D4 jsr [PC + 0x1D4 /* 0000252E */]
0000235C 588F addq.l A7, 4
0000235E 5347 subq.w D7, 1
label00002360:
00002360 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00002364 6CEC bge -0x12 /* 00002352 */
00002366 602E bra +0x30 /* 00002396 */
label00002368:
00002368 3F3C 0001 move.w -[A7], 0x1
0000236C 3F2D E67C move.w -[A7], [A5 - 0x1984]
00002370 4EBA 01BC jsr [PC + 0x1BC /* 0000252E */]
00002374 588F addq.l A7, 4
00002376 601E bra +0x20 /* 00002396 */
00002378 302D E67C move.w D0, [A5 - 0x1984]
0000237C 6B18 bmi +0x1A /* 00002396 */
0000237E 0440 000C subi.w D0, 0xC
00002382 6A12 bpl +0x14 /* 00002396 */
00002384 5C40 addq.w D0, 6
00002386 6B0E bmi +0x10 /* 00002396 */
00002388 3F3C 0001 move.w -[A7], 0x1
0000238C 3F2D E67C move.w -[A7], [A5 - 0x1984]
00002390 4EBA 019C jsr [PC + 0x19C /* 0000252E */]
00002394 588F addq.l A7, 4
label00002396:
00002396 302D E67C move.w D0, [A5 - 0x1984]
0000239A 6B12 bmi +0x14 /* 000023AE */
0000239C 5D40 subq.w D0, 6
0000239E 6A0E bpl +0x10 /* 000023AE */
000023A0 3F3C 0001 move.w -[A7], 0x1
000023A4 3F2D E67C move.w -[A7], [A5 - 0x1984]
000023A8 4EBA 0184 jsr [PC + 0x184 /* 0000252E */]
000023AC 588F addq.l A7, 4
label000023AE:
000023AE 2E1F move.l D7, [A7]+
000023B0 4E5E unlink A6
000023B2 4E75 rts
000023B4 FF20 .extension 0xF20 <<F/4-5/7>> // unimplemented
000023B6 FFE2 .invalid <<F/7/7>>
000023B8 FF46 .extension 0xF46 <<F/4-5/7>> // unimplemented
000023BA FFE2 .invalid <<F/7/7>>
000023BC FF86 .invalid <<F/6/7>>
000023BE FFE2 .invalid <<F/7/7>>
000023C0 FFC4 .invalid <<F/7/7>>
fn000023C2:
000023C2 701E moveq.l D0, 0x1E
000023C4 2B40 F6DE move.l [A5 - 0x922], D0
000023C8 4A2D E847 tst.b [A5 - 0x17B9]
000023CC 670E beq +0x10 /* 000023DC */
000023CE 4EBA F1DC jsr [PC - 0xE24 /* 000015AC */]
000023D2 5540 subq.w D0, 2
000023D4 6F06 ble +0x8 /* 000023DC */
000023D6 7045 moveq.l D0, 0x45
000023D8 2B40 F6DE move.l [A5 - 0x922], D0
label000023DC:
000023DC 4E75 rts
fn000023DE:
000023DE 4E56 FFF4 link A6, -0x000C
000023E2 48E7 0700 movem.l -[A7], D5,D6,D7
000023E6 486E FFFC pea.l [A6 - 0x4]
000023EA A874 syscall GetPort
000023EC 2F2D E792 move.l -[A7], [A5 - 0x186E]
000023F0 A873 syscall SetPort
000023F2 4EBA FFCE jsr [PC - 0x32 /* 000023C2 */]
000023F6 3C2D F660 move.w D6, [A5 - 0x9A0]
000023FA 3A2D F662 move.w D5, [A5 - 0x99E]
000023FE 7E00 moveq.l D7, 0x00
00002400 6052 bra +0x54 /* 00002454 */
label00002402:
00002402 486E FFF4 pea.l [A6 - 0xC]
00002406 3F06 move.w -[A7], D6
00002408 3F05 move.w -[A7], D5
0000240A 7020 moveq.l D0, 0x20
0000240C D046 add.w D0, D6
0000240E 3F00 move.w -[A7], D0
00002410 7020 moveq.l D0, 0x20
00002412 D045 add.w D0, D5
00002414 3F00 move.w -[A7], D0
00002416 A8A7 syscall SetRect
00002418 4878 0199 push.l 0x199
0000241C A862 syscall ForeColor
0000241E 486E FFF4 pea.l [A6 - 0xC]
00002422 486D F9AC pea.l [A5 - 0x654]
00002426 A8A5 syscall FillRect
00002428 5A46 addq.w D6, 5
0000242A 5345 subq.w D5, 1
0000242C 2F2D F6DE move.l -[A7], [A5 - 0x922]
00002430 A862 syscall ForeColor
00002432 42A7 clr.l -[A7]
00002434 2F3C 0001 0003 move.l -[A7], 0x10003
0000243A 3F05 move.w -[A7], D5
0000243C 3F06 move.w -[A7], D6
0000243E 3F3C 0149 move.w -[A7], 0x149
00002442 4EBA 07AA jsr [PC + 0x7AA /* 00002BEE */]
00002446 3EBC 0002 move.w [A7], 0x2
0000244A 4EBA FB4A jsr [PC - 0x4B6 /* 00001F96 */]
0000244E 4FEF 000E lea.l A7, [A7 + 0xE]
00002452 5247 addq.w D7, 1
label00002454:
00002454 0C47 001E cmpi.w D7, 0x1E
00002458 6DA8 blt -0x56 /* 00002402 */
0000245A 4878 0021 push.l 0x21 /* '!' */
0000245E A862 syscall ForeColor
00002460 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002464 A873 syscall SetPort
00002466 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000246A 4E5E unlink A6
0000246C 4E75 rts
fn0000246E:
0000246E 4E56 FFFC link A6, -0x0004
00002472 486E FFFC pea.l [A6 - 0x4]
00002476 A874 syscall GetPort
00002478 2F2D E792 move.l -[A7], [A5 - 0x186E]
0000247C A873 syscall SetPort
0000247E 4EBA FF42 jsr [PC - 0xBE /* 000023C2 */]
00002482 2F2D F6DE move.l -[A7], [A5 - 0x922]
00002486 A862 syscall ForeColor
00002488 42A7 clr.l -[A7]
0000248A 2F3C 0001 0003 move.l -[A7], 0x10003
00002490 3F2D F666 move.w -[A7], [A5 - 0x99A]
00002494 3F2D F664 move.w -[A7], [A5 - 0x99C]
00002498 3F3C 0149 move.w -[A7], 0x149
0000249C 4EBA 0750 jsr [PC + 0x750 /* 00002BEE */]
000024A0 7021 moveq.l D0, 0x21
000024A2 2E80 move.l [A7], D0
000024A4 A862 syscall ForeColor
000024A6 2EAE FFFC move.l [A7], [A6 - 0x4]
000024AA A873 syscall SetPort
000024AC 4E5E unlink A6
000024AE 4E75 rts
fn000024B0:
000024B0 4E56 FFFC link A6, -0x0004
000024B4 486E FFFC pea.l [A6 - 0x4]
000024B8 A874 syscall GetPort
000024BA 2F2D E792 move.l -[A7], [A5 - 0x186E]
000024BE A873 syscall SetPort
000024C0 4EBA FF00 jsr [PC - 0x100 /* 000023C2 */]
000024C4 2F2D F6DE move.l -[A7], [A5 - 0x922]
000024C8 A862 syscall ForeColor
000024CA 42A7 clr.l -[A7]
000024CC 2F3C 0001 0003 move.l -[A7], 0x10003
000024D2 3F2D F662 move.w -[A7], [A5 - 0x99E]
000024D6 3F2D F660 move.w -[A7], [A5 - 0x9A0]
000024DA 3F3C 0149 move.w -[A7], 0x149
000024DE 4EBA 070E jsr [PC + 0x70E /* 00002BEE */]
000024E2 7021 moveq.l D0, 0x21
000024E4 2E80 move.l [A7], D0
000024E6 A862 syscall ForeColor
000024E8 2EAE FFFC move.l [A7], [A6 - 0x4]
000024EC A873 syscall SetPort
000024EE 4E5E unlink A6
000024F0 4E75 rts
fn000024F2:
000024F2 4E56 FFF8 link A6, -0x0008
000024F6 486E FFF8 pea.l [A6 - 0x8]
000024FA 3F2D F660 move.w -[A7], [A5 - 0x9A0]
000024FE 3F2D F662 move.w -[A7], [A5 - 0x99E]
00002502 7020 moveq.l D0, 0x20
00002504 D06D F660 add.w D0, [A5 - 0x9A0]
00002508 3F00 move.w -[A7], D0
0000250A 7020 moveq.l D0, 0x20
0000250C D06D F662 add.w D0, [A5 - 0x99E]
00002510 3F00 move.w -[A7], D0
00002512 A8A7 syscall SetRect
00002514 4878 0199 push.l 0x199
00002518 A862 syscall ForeColor
0000251A 486E FFF8 pea.l [A6 - 0x8]
0000251E 486D F9AC pea.l [A5 - 0x654]
00002522 A8A5 syscall FillRect
00002524 4878 0021 push.l 0x21 /* '!' */
00002528 A862 syscall ForeColor
0000252A 4E5E unlink A6
0000252C 4E75 rts
fn0000252E:
0000252E 4E56 FFF4 link A6, -0x000C
00002532 48E7 0700 movem.l -[A7], D5,D6,D7
00002536 3E2E 000A move.w D7, [A6 + 0xA]
0000253A 486E FFFC pea.l [A6 - 0x4]
0000253E A874 syscall GetPort
00002540 2F2D E792 move.l -[A7], [A5 - 0x186E]
00002544 A873 syscall SetPort
00002546 302E 0008 move.w D0, [A6 + 0x8]
0000254A 0C40 000B cmpi.w D0, 0xB
0000254E 6200 0334 bhi +0x336 /* 00002884 */
00002552 43FA 0346 lea.l A1, [PC + 0x346 /* 0000289A, value 0xFF46FF2E */]
00002556 D040 add.w D0, D0
00002558 D2F1 0000 add.w A1, [A1 + D0.w]
0000255C 4ED1 jmp [A1]
0000255E 486D F6D6 pea.l [A5 - 0x92A]
00002562 4EBA 0558 jsr [PC + 0x558 /* 00002ABC */]
00002566 588F addq.l A7, 4
00002568 6000 031A bra +0x31C /* 00002884 */
0000256C 4A47 tst.w D7
0000256E 6722 beq +0x24 /* 00002592 */
00002570 2F3C 0001 0000 move.l -[A7], 0x10000
00002576 2F3C 0001 0014 move.l -[A7], 0x10014
0000257C 2F3C 0186 006F move.l -[A7], 0x186006F
00002582 3F3C 0148 move.w -[A7], 0x148
00002586 4EBA 0666 jsr [PC + 0x666 /* 00002BEE */]
0000258A 4FEF 000E lea.l A7, [A7 + 0xE]
0000258E 6000 02F4 bra +0x2F6 /* 00002884 */
label00002592:
00002592 2F3C 0001 0000 move.l -[A7], 0x10000
00002598 2F3C 0001 0003 move.l -[A7], 0x10003
0000259E 2F3C 0186 006F move.l -[A7], 0x186006F
000025A4 3F3C 0148 move.w -[A7], 0x148
000025A8 4EBA 0644 jsr [PC + 0x644 /* 00002BEE */]
000025AC 4FEF 000E lea.l A7, [A7 + 0xE]
000025B0 6000 02D2 bra +0x2D4 /* 00002884 */
000025B4 4A47 tst.w D7
000025B6 6722 beq +0x24 /* 000025DA */
000025B8 2F3C 0001 0000 move.l -[A7], 0x10000
000025BE 2F3C 0001 0014 move.l -[A7], 0x10014
000025C4 2F3C 0032 0082 move.l -[A7], 0x320082
000025CA 3F3C 0148 move.w -[A7], 0x148
000025CE 4EBA 061E jsr [PC + 0x61E /* 00002BEE */]
000025D2 4FEF 000E lea.l A7, [A7 + 0xE]
000025D6 6000 02AC bra +0x2AE /* 00002884 */
label000025DA:
000025DA 2F3C 0001 0000 move.l -[A7], 0x10000
000025E0 2F3C 0001 0003 move.l -[A7], 0x10003
000025E6 2F3C 0032 0082 move.l -[A7], 0x320082
000025EC 3F3C 0148 move.w -[A7], 0x148
000025F0 4EBA 05FC jsr [PC + 0x5FC /* 00002BEE */]
000025F4 4FEF 000E lea.l A7, [A7 + 0xE]
000025F8 6000 028A bra +0x28C /* 00002884 */
000025FC 4A47 tst.w D7
000025FE 6722 beq +0x24 /* 00002622 */
00002600 2F3C 0001 0000 move.l -[A7], 0x10000
00002606 2F3C 0001 0014 move.l -[A7], 0x10014
0000260C 2F3C 016D 008A move.l -[A7], 0x16D008A
00002612 3F3C 014A move.w -[A7], 0x14A
00002616 4EBA 05D6 jsr [PC + 0x5D6 /* 00002BEE */]
0000261A 4FEF 000E lea.l A7, [A7 + 0xE]
0000261E 6000 0264 bra +0x266 /* 00002884 */
label00002622:
00002622 2F3C 0001 0000 move.l -[A7], 0x10000
00002628 2F3C 0001 0003 move.l -[A7], 0x10003
0000262E 2F3C 016D 008A move.l -[A7], 0x16D008A
00002634 3F3C 014A move.w -[A7], 0x14A
00002638 4EBA 05B4 jsr [PC + 0x5B4 /* 00002BEE */]
0000263C 4FEF 000E lea.l A7, [A7 + 0xE]
00002640 6000 0242 bra +0x244 /* 00002884 */
00002644 4A47 tst.w D7
00002646 6722 beq +0x24 /* 0000266A */
00002648 2F3C 0001 0000 move.l -[A7], 0x10000
0000264E 2F3C 0001 0014 move.l -[A7], 0x10014
00002654 2F3C 0118 0099 move.l -[A7], 0x1180099
0000265A 3F3C 014A move.w -[A7], 0x14A
0000265E 4EBA 058E jsr [PC + 0x58E /* 00002BEE */]
00002662 4FEF 000E lea.l A7, [A7 + 0xE]
00002666 6000 021C bra +0x21E /* 00002884 */
label0000266A:
0000266A 2F3C 0001 0000 move.l -[A7], 0x10000
00002670 2F3C 0001 0003 move.l -[A7], 0x10003
00002676 2F3C 0118 0099 move.l -[A7], 0x1180099
0000267C 3F3C 014A move.w -[A7], 0x14A
00002680 4EBA 056C jsr [PC + 0x56C /* 00002BEE */]
00002684 4FEF 000E lea.l A7, [A7 + 0xE]
00002688 6000 01FA bra +0x1FC /* 00002884 */
0000268C 4A47 tst.w D7
0000268E 6722 beq +0x24 /* 000026B2 */
00002690 2F3C 0001 0000 move.l -[A7], 0x10000
00002696 2F3C 0001 0014 move.l -[A7], 0x10014
0000269C 2F3C 0148 0096 move.l -[A7], 0x1480096
000026A2 3F3C 014A move.w -[A7], 0x14A
000026A6 4EBA 0546 jsr [PC + 0x546 /* 00002BEE */]
000026AA 4FEF 000E lea.l A7, [A7 + 0xE]
000026AE 6000 01D4 bra +0x1D6 /* 00002884 */
label000026B2:
000026B2 2F3C 0001 0000 move.l -[A7], 0x10000
000026B8 2F3C 0001 0003 move.l -[A7], 0x10003
000026BE 2F3C 0148 0096 move.l -[A7], 0x1480096
000026C4 3F3C 014A move.w -[A7], 0x14A
000026C8 4EBA 0524 jsr [PC + 0x524 /* 00002BEE */]
000026CC 4FEF 000E lea.l A7, [A7 + 0xE]
000026D0 6000 01B2 bra +0x1B4 /* 00002884 */
000026D4 4A47 tst.w D7
000026D6 6722 beq +0x24 /* 000026FA */
000026D8 2F3C 0001 0000 move.l -[A7], 0x10000
000026DE 2F3C 0001 0014 move.l -[A7], 0x10014
000026E4 2F3C 006C 009B move.l -[A7], 0x6C009B
000026EA 3F3C 014A move.w -[A7], 0x14A
000026EE 4EBA 04FE jsr [PC + 0x4FE /* 00002BEE */]
000026F2 4FEF 000E lea.l A7, [A7 + 0xE]
000026F6 6000 018C bra +0x18E /* 00002884 */
label000026FA:
000026FA 2F3C 0001 0000 move.l -[A7], 0x10000
00002700 2F3C 0001 0003 move.l -[A7], 0x10003
00002706 2F3C 006C 009B move.l -[A7], 0x6C009B
0000270C 3F3C 014A move.w -[A7], 0x14A
00002710 4EBA 04DC jsr [PC + 0x4DC /* 00002BEE */]
00002714 4FEF 000E lea.l A7, [A7 + 0xE]
00002718 6000 016A bra +0x16C /* 00002884 */
0000271C 4A47 tst.w D7
0000271E 6722 beq +0x24 /* 00002742 */
00002720 2F3C 0001 0001 move.l -[A7], 0x10001
00002726 2F3C 0001 000F move.l -[A7], 0x1000F
0000272C 2F3C 0094 005D move.l -[A7], 0x94005D
00002732 3F3C 0100 move.w -[A7], 0x100
00002736 4EBA 05B6 jsr [PC + 0x5B6 /* 00002CEE */]
0000273A 4FEF 000E lea.l A7, [A7 + 0xE]
0000273E 6000 0144 bra +0x146 /* 00002884 */
label00002742:
00002742 42A7 clr.l -[A7]
00002744 2F3C 0001 0003 move.l -[A7], 0x10003
0000274A 2F3C 0094 005D move.l -[A7], 0x94005D
00002750 3F3C 0100 move.w -[A7], 0x100
00002754 4EBA 0598 jsr [PC + 0x598 /* 00002CEE */]
00002758 4FEF 000E lea.l A7, [A7 + 0xE]
0000275C 6000 0126 bra +0x128 /* 00002884 */
00002760 4A47 tst.w D7
00002762 660A bne +0xC /* 0000276E */
00002764 0C6D 0001 E67C cmpi.w [A5 - 0x1984], 0x1
0000276A 6F00 0118 ble +0x11A /* 00002884 */
label0000276E:
0000276E 4EBA FD40 jsr [PC - 0x2C0 /* 000024B0 */]
00002772 6000 0110 bra +0x112 /* 00002884 */
00002776 4878 001E push.l 0x1E
0000277A A862 syscall ForeColor
0000277C 4A47 tst.w D7
0000277E 6720 beq +0x22 /* 000027A0 */
00002780 2F3C 0001 0000 move.l -[A7], 0x10000
00002786 2F3C 0001 0014 move.l -[A7], 0x10014
0000278C 2F3C 00E1 0071 move.l -[A7], 0xE10071
00002792 3F3C 0083 move.w -[A7], 0x83
00002796 4EBA 0456 jsr [PC + 0x456 /* 00002BEE */]
0000279A 4FEF 000E lea.l A7, [A7 + 0xE]
0000279E 601E bra +0x20 /* 000027BE */
label000027A0:
000027A0 2F3C 0001 0000 move.l -[A7], 0x10000
000027A6 2F3C 0001 0003 move.l -[A7], 0x10003
000027AC 2F3C 00E1 0071 move.l -[A7], 0xE10071
000027B2 3F3C 0083 move.w -[A7], 0x83
000027B6 4EBA 0436 jsr [PC + 0x436 /* 00002BEE */]
000027BA 4FEF 000E lea.l A7, [A7 + 0xE]
label000027BE:
000027BE 4878 0021 push.l 0x21 /* '!' */
000027C2 A862 syscall ForeColor
000027C4 6000 00BE bra +0xC0 /* 00002884 */
000027C8 4A47 tst.w D7
000027CA 6708 beq +0xA /* 000027D4 */
000027CC 4EBA FC10 jsr [PC - 0x3F0 /* 000023DE */]
000027D0 6000 00B2 bra +0xB4 /* 00002884 */
label000027D4:
000027D4 4EBA FD1C jsr [PC - 0x2E4 /* 000024F2 */]
000027D8 4EBA FC94 jsr [PC - 0x36C /* 0000246E */]
000027DC 6000 00A6 bra +0xA8 /* 00002884 */
000027E0 486E FFF4 pea.l [A6 - 0xC]
000027E4 2F3C 0071 00E1 move.l -[A7], 0x7100E1
000027EA 2F3C 0091 0101 move.l -[A7], 0x910101
000027F0 A8A7 syscall SetRect
000027F2 7C00 moveq.l D6, 0x00
000027F4 604E bra +0x50 /* 00002844 */
label000027F6:
000027F6 7A00 moveq.l D5, 0x00
000027F8 6042 bra +0x44 /* 0000283C */
label000027FA:
000027FA 4878 0199 push.l 0x199
000027FE A862 syscall ForeColor
00002800 486E FFF4 pea.l [A6 - 0xC]
00002804 486D F9AC pea.l [A5 - 0x654]
00002808 A8A5 syscall FillRect
0000280A 4878 001E push.l 0x1E
0000280E A862 syscall ForeColor
00002810 2F3C 0001 0000 move.l -[A7], 0x10000
00002816 2F3C 0001 0003 move.l -[A7], 0x10003
0000281C 2F3C 00E1 0071 move.l -[A7], 0xE10071
00002822 3005 move.w D0, D5
00002824 0640 0083 addi.w D0, 0x83
00002828 3F00 move.w -[A7], D0
0000282A 4EBA 03C2 jsr [PC + 0x3C2 /* 00002BEE */]
0000282E 3EBC 0002 move.w [A7], 0x2
00002832 4EBA F762 jsr [PC - 0x89E /* 00001F96 */]
00002836 4FEF 000E lea.l A7, [A7 + 0xE]
0000283A 5245 addq.w D5, 1
label0000283C:
0000283C 0C45 0008 cmpi.w D5, 0x8
00002840 6DB8 blt -0x46 /* 000027FA */
00002842 5246 addq.w D6, 1
label00002844:
00002844 0C46 0011 cmpi.w D6, 0x11
00002848 6DAC blt -0x52 /* 000027F6 */
0000284A 4878 0199 push.l 0x199
0000284E A862 syscall ForeColor
00002850 486E FFF4 pea.l [A6 - 0xC]
00002854 486D F9AC pea.l [A5 - 0x654]
00002858 A8A5 syscall FillRect
0000285A 4878 001E push.l 0x1E
0000285E A862 syscall ForeColor
00002860 2F3C 0001 0000 move.l -[A7], 0x10000
00002866 2F3C 0001 0003 move.l -[A7], 0x10003
0000286C 2F3C 00E1 0071 move.l -[A7], 0xE10071
00002872 3F3C 0087 move.w -[A7], 0x87
00002876 4EBA 0376 jsr [PC + 0x376 /* 00002BEE */]
0000287A 7021 moveq.l D0, 0x21
0000287C 2E80 move.l [A7], D0
0000287E A862 syscall ForeColor
00002880 4FEF 000A lea.l A7, [A7 + 0xA]
label00002884:
00002884 4878 0021 push.l 0x21 /* '!' */
00002888 A862 syscall ForeColor
0000288A A89E syscall PenNormal
0000288C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002890 A873 syscall SetPort
00002892 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00002896 4E5E unlink A6
00002898 4E75 rts
0000289A FF46 .extension 0xF46 <<F/4-5/7>> // unimplemented
0000289C FF2E .extension 0xF2E <<F/4-5/7>> // unimplemented
0000289E FEDC FEC6 .extension 0xEDC <<F/2-3/7>> // unimplemented
000028A2 FE82 FE3A .extension 0xE82 <<F/2-3/7>> // unimplemented
000028A6 FDF2 .invalid <<F/7/6>>
000028A8 FDAA .invalid <<F/6/6>>
000028AA FD62 .extension 0xD62 <<F/4-5/6>> // unimplemented
000028AC FD1A .extension 0xD1A <<F/4-5/6>> // unimplemented
000028AE FCD2 FCC4 .extension 0xCD2 <<F/2-3/6>> // unimplemented
fn000028B2:
000028B2 48E7 0700 movem.l -[A7], D5,D6,D7
000028B6 7C06 moveq.l D6, 0x06
000028B8 3A3C 00EE move.w D5, 0xEE
000028BC 7E00 moveq.l D7, 0x00
000028BE 6060 bra +0x62 /* 00002920 */
label000028C0:
000028C0 204D movea.l A0, A5
000028C2 2007 move.l D0, D7
000028C4 48C0 ext.l D0
000028C6 E788 lsl D0, 3
000028C8 D1C0 add.l A0, D0
000028CA 3145 E6A2 move.w [A0 - 0x195E], D5
000028CE 204D movea.l A0, A5
000028D0 2007 move.l D0, D7
000028D2 48C0 ext.l D0
000028D4 E788 lsl D0, 3
000028D6 D1C0 add.l A0, D0
000028D8 7020 moveq.l D0, 0x20
000028DA D068 E6A2 add.w D0, [A0 - 0x195E]
000028DE 204D movea.l A0, A5
000028E0 2207 move.l D1, D7
000028E2 48C1 ext.l D1
000028E4 E789 lsl D1, 3
000028E6 D1C1 add.l A0, D1
000028E8 3140 E6A6 move.w [A0 - 0x195A], D0
000028EC 7023 moveq.l D0, 0x23
000028EE C1C7 muls.w D0, D7
000028F0 D046 add.w D0, D6
000028F2 204D movea.l A0, A5
000028F4 2207 move.l D1, D7
000028F6 48C1 ext.l D1
000028F8 E789 lsl D1, 3
000028FA D1C1 add.l A0, D1
000028FC 3140 E6A4 move.w [A0 - 0x195C], D0
00002900 204D movea.l A0, A5
00002902 2007 move.l D0, D7
00002904 48C0 ext.l D0
00002906 E788 lsl D0, 3
00002908 D1C0 add.l A0, D0
0000290A 7020 moveq.l D0, 0x20
0000290C D068 E6A4 add.w D0, [A0 - 0x195C]
00002910 204D movea.l A0, A5
00002912 2207 move.l D1, D7
00002914 48C1 ext.l D1
00002916 E789 lsl D1, 3
00002918 D1C1 add.l A0, D1
0000291A 3140 E6A8 move.w [A0 - 0x1958], D0
0000291E 5247 addq.w D7, 1
label00002920:
00002920 0C47 000D cmpi.w D7, 0xD /* '\r' */
00002924 6D9A blt -0x64 /* 000028C0 */
00002926 7E0D moveq.l D7, 0x0D
00002928 6068 bra +0x6A /* 00002992 */
label0000292A:
0000292A 7023 moveq.l D0, 0x23
0000292C D045 add.w D0, D5
0000292E 204D movea.l A0, A5
00002930 2207 move.l D1, D7
00002932 48C1 ext.l D1
00002934 E789 lsl D1, 3
00002936 D1C1 add.l A0, D1
00002938 3140 E6A2 move.w [A0 - 0x195E], D0
0000293C 204D movea.l A0, A5
0000293E 2007 move.l D0, D7
00002940 48C0 ext.l D0
00002942 E788 lsl D0, 3
00002944 D1C0 add.l A0, D0
00002946 7020 moveq.l D0, 0x20
00002948 D068 E6A2 add.w D0, [A0 - 0x195E]
0000294C 204D movea.l A0, A5
0000294E 2207 move.l D1, D7
00002950 48C1 ext.l D1
00002952 E789 lsl D1, 3
00002954 D1C1 add.l A0, D1
00002956 3140 E6A6 move.w [A0 - 0x195A], D0
0000295A 70F3 moveq.l D0, 0xFFFFFFF3
0000295C D047 add.w D0, D7
0000295E C1FC 0023 muls.w D0, 0x23 /* '#' */
00002962 D046 add.w D0, D6
00002964 204D movea.l A0, A5
00002966 2207 move.l D1, D7
00002968 48C1 ext.l D1
0000296A E789 lsl D1, 3
0000296C D1C1 add.l A0, D1
0000296E 3140 E6A4 move.w [A0 - 0x195C], D0
00002972 204D movea.l A0, A5
00002974 2007 move.l D0, D7
00002976 48C0 ext.l D0
00002978 E788 lsl D0, 3
0000297A D1C0 add.l A0, D0
0000297C 7020 moveq.l D0, 0x20
0000297E D068 E6A4 add.w D0, [A0 - 0x195C]
00002982 204D movea.l A0, A5
00002984 2207 move.l D1, D7
00002986 48C1 ext.l D1
00002988 E789 lsl D1, 3
0000298A D1C1 add.l A0, D1
0000298C 3140 E6A8 move.w [A0 - 0x1958], D0
00002990 5247 addq.w D7, 1
label00002992:
00002992 0C47 001A cmpi.w D7, 0x1A
00002996 6D92 blt -0x6C /* 0000292A */
00002998 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000299C 4E75 rts
fn0000299E:
0000299E 4E56 FFFC link A6, -0x0004
000029A2 2F07 move.l -[A7], D7
000029A4 3E2E 0008 move.w D7, [A6 + 0x8]
000029A8 204D movea.l A0, A5
000029AA D0C7 add.w A0, D7
000029AC D0C7 add.w A0, D7
000029AE 4A68 E648 tst.w [A0 - 0x19B8]
000029B2 660A bne +0xC /* 000029BE */
000029B4 3F07 move.w -[A7], D7
000029B6 4EBA 0076 jsr [PC + 0x76 /* 00002A2E */]
000029BA 548F addq.l A7, 2
000029BC 606A bra +0x6C /* 00002A28 */
label000029BE:
000029BE 4A6E 000A tst.w [A6 + 0xA]
000029C2 6732 beq +0x34 /* 000029F6 */
000029C4 2F3C 0001 0001 move.l -[A7], 0x10001
000029CA 42A7 clr.l -[A7]
000029CC 204D movea.l A0, A5
000029CE 2007 move.l D0, D7
000029D0 48C0 ext.l D0
000029D2 E788 lsl D0, 3
000029D4 D1C0 add.l A0, D0
000029D6 3F28 E6A2 move.w -[A7], [A0 - 0x195E]
000029DA 204D movea.l A0, A5
000029DC 2007 move.l D0, D7
000029DE 48C0 ext.l D0
000029E0 E788 lsl D0, 3
000029E2 D1C0 add.l A0, D0
000029E4 3F28 E6A4 move.w -[A7], [A0 - 0x195C]
000029E8 3F3C 0147 move.w -[A7], 0x147
000029EC 4EBA 0200 jsr [PC + 0x200 /* 00002BEE */]
000029F0 4FEF 000E lea.l A7, [A7 + 0xE]
000029F4 6032 bra +0x34 /* 00002A28 */
label000029F6:
000029F6 2F3C 0001 0000 move.l -[A7], 0x10000
000029FC 4878 0003 push.l 0x3
00002A00 204D movea.l A0, A5
00002A02 2007 move.l D0, D7
00002A04 48C0 ext.l D0
00002A06 E788 lsl D0, 3
00002A08 D1C0 add.l A0, D0
00002A0A 3F28 E6A2 move.w -[A7], [A0 - 0x195E]
00002A0E 204D movea.l A0, A5
00002A10 2007 move.l D0, D7
00002A12 48C0 ext.l D0
00002A14 E788 lsl D0, 3
00002A16 D1C0 add.l A0, D0
00002A18 3F28 E6A4 move.w -[A7], [A0 - 0x195C]
00002A1C 3F3C 0147 move.w -[A7], 0x147
00002A20 4EBA 01CC jsr [PC + 0x1CC /* 00002BEE */]
00002A24 4FEF 000E lea.l A7, [A7 + 0xE]
label00002A28:
00002A28 2E1F move.l D7, [A7]+
00002A2A 4E5E unlink A6
00002A2C 4E75 rts
fn00002A2E:
00002A2E 4E56 0000 link A6, 0
00002A32 2F0C move.l -[A7], A4
00002A34 42A7 clr.l -[A7]
00002A36 302E 0008 move.w D0, [A6 + 0x8]
00002A3A 0640 012D addi.w D0, 0x12D
00002A3E 3F00 move.w -[A7], D0
00002A40 A9BB syscall GetIcon
00002A42 285F movea.l A4, [A7]+
00002A44 200C move.l D0, A4
00002A46 676E beq +0x70 /* 00002AB6 */
00002A48 204C movea.l A0, A4
00002A4A A029 syscall HLock
00002A4C 302D E62A move.w D0, [A5 - 0x19D6]
00002A50 204D movea.l A0, A5
00002A52 48C0 ext.l D0
00002A54 E588 lsl D0, 2
00002A56 D1C0 add.l A0, D0
00002A58 2F28 E60A move.l -[A7], [A0 - 0x19F6]
00002A5C A862 syscall ForeColor
00002A5E 302D E62C move.w D0, [A5 - 0x19D4]
00002A62 204D movea.l A0, A5
00002A64 48C0 ext.l D0
00002A66 E588 lsl D0, 2
00002A68 D1C0 add.l A0, D0
00002A6A 2F28 E60A move.l -[A7], [A0 - 0x19F6]
00002A6E A863 syscall BackColor
00002A70 204D movea.l A0, A5
00002A72 302E 0008 move.w D0, [A6 + 0x8]
00002A76 48C0 ext.l D0
00002A78 E788 lsl D0, 3
00002A7A D1C0 add.l A0, D0
00002A7C 4868 E6A2 pea.l [A0 - 0x195E]
00002A80 2F0C move.l -[A7], A4
00002A82 A94B syscall PlotIcon
00002A84 4878 0021 push.l 0x21 /* '!' */
00002A88 A862 syscall ForeColor
00002A8A 4878 001E push.l 0x1E
00002A8E A863 syscall BackColor
00002A90 2F3C 0002 0002 move.l -[A7], 0x20002
00002A96 A89B syscall PenSize
00002A98 204D movea.l A0, A5
00002A9A 302E 0008 move.w D0, [A6 + 0x8]
00002A9E 48C0 ext.l D0
00002AA0 E788 lsl D0, 3
00002AA2 D1C0 add.l A0, D0
00002AA4 4868 E6A2 pea.l [A0 - 0x195E]
00002AA8 A8A1 syscall FrameRect
00002AAA 4878 0021 push.l 0x21 /* '!' */
00002AAE A862 syscall ForeColor
00002AB0 A89E syscall PenNormal
00002AB2 204C movea.l A0, A4
00002AB4 A02A syscall HUnlock
label00002AB6:
00002AB6 285F movea.l A4, [A7]+
00002AB8 4E5E unlink A6
00002ABA 4E75 rts
fn00002ABC:
00002ABC 4E56 FFF8 link A6, -0x0008
00002AC0 48E7 0018 movem.l -[A7], A3,A4
00002AC4 206E 0008 movea.l A0, [A6 + 0x8]
00002AC8 2D50 FFF8 move.l [A6 - 0x8], [A0]
00002ACC 2D68 0004 FFFC move.l [A6 - 0x4], [A0 + 0x4]
00002AD2 42A7 clr.l -[A7]
00002AD4 A8D8 syscall NewRgn
00002AD6 285F movea.l A4, [A7]+
00002AD8 A8DA syscall OpenRgn
00002ADA 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002ADE 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002AE2 A893 syscall MoveTo
00002AE4 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002AE8 70EC moveq.l D0, 0xFFFFFFEC
00002AEA D06E FFFC add.w D0, [A6 - 0x4]
00002AEE 3F00 move.w -[A7], D0
00002AF0 A891 syscall LineTo
00002AF2 4878 0014 push.l 0x14
00002AF6 A892 syscall Line
00002AF8 2F3C FFF6 0014 move.l -[A7], 0xFFF60014
00002AFE A892 syscall Line
00002B00 2F3C 0005 0014 move.l -[A7], 0x50014
00002B06 A892 syscall Line
00002B08 2F3C FFF6 0028 move.l -[A7], 0xFFF60028
00002B0E A892 syscall Line
00002B10 2F3C 0005 001E move.l -[A7], 0x5001E
00002B16 A892 syscall Line
00002B18 2F3C FFF6 0032 move.l -[A7], 0xFFF60032
00002B1E A892 syscall Line
00002B20 2F3C 000A 001E move.l -[A7], 0xA001E
00002B26 A892 syscall Line
00002B28 2F3C 0002 0028 move.l -[A7], 0x20028
00002B2E A892 syscall Line
00002B30 2F3C FFEC 003C move.l -[A7], 0xFFEC003C
00002B36 A892 syscall Line
00002B38 2F3C 0005 0032 move.l -[A7], 0x50032
00002B3E A892 syscall Line
00002B40 2F3C FFFB 0028 move.l -[A7], 0xFFFB0028
00002B46 A892 syscall Line
00002B48 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002B4C 7055 moveq.l D0, 0x55
00002B4E D06E FFF8 add.w D0, [A6 - 0x8]
00002B52 3F00 move.w -[A7], D0
00002B54 A891 syscall LineTo
00002B56 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002B5A 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002B5E A891 syscall LineTo
00002B60 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002B64 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002B68 A891 syscall LineTo
00002B6A 2F0C move.l -[A7], A4
00002B6C A8DB syscall CloseRgn
00002B6E 4878 0199 push.l 0x199
00002B72 A862 syscall ForeColor
00002B74 2F0C move.l -[A7], A4
00002B76 486D F9AC pea.l [A5 - 0x654]
00002B7A A8D6 syscall FillRgn
00002B7C 42A7 clr.l -[A7]
00002B7E A8D8 syscall NewRgn
00002B80 265F movea.l A3, [A7]+
00002B82 A8DA syscall OpenRgn
00002B84 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002B88 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002B8C A893 syscall MoveTo
00002B8E 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002B92 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002B96 A891 syscall LineTo
00002B98 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002B9C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002BA0 A891 syscall LineTo
00002BA2 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002BA6 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002BAA A891 syscall LineTo
00002BAC 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002BB0 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002BB4 A891 syscall LineTo
00002BB6 2F0B move.l -[A7], A3
00002BB8 A8DB syscall CloseRgn
00002BBA 2F0B move.l -[A7], A3
00002BBC 2F0C move.l -[A7], A4
00002BBE 2F0B move.l -[A7], A3
00002BC0 A8E6 syscall DiffRgn
00002BC2 4878 0155 push.l 0x155
00002BC6 A862 syscall ForeColor
00002BC8 2F0B move.l -[A7], A3
00002BCA 486D F9BC pea.l [A5 - 0x644]
00002BCE A8D6 syscall FillRgn
00002BD0 4878 0021 push.l 0x21 /* '!' */
00002BD4 A862 syscall ForeColor
00002BD6 2F0C move.l -[A7], A4
00002BD8 A8D2 syscall FrameRgn
00002BDA 2F0B move.l -[A7], A3
00002BDC A8D2 syscall FrameRgn
00002BDE 2F0C move.l -[A7], A4
00002BE0 A8D9 syscall DisposRgn/DisposeRgn
00002BE2 2F0B move.l -[A7], A3
00002BE4 A8D9 syscall DisposRgn/DisposeRgn
00002BE6 4CDF 1800 movem.l A3,A4, [A7]+
00002BEA 4E5E unlink A6
00002BEC 4E75 rts
fn00002BEE:
00002BEE 4E56 FF88 link A6, -0x0078
00002BF2 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00002BF6 3E2E 000A move.w D7, [A6 + 0xA]
00002BFA 3C2E 000C move.w D6, [A6 + 0xC]
00002BFE 486E FF88 pea.l [A6 - 0x78]
00002C02 A874 syscall GetPort
00002C04 3D47 FFFA move.w [A6 - 0x6], D7
00002C08 7020 moveq.l D0, 0x20
00002C0A D047 add.w D0, D7
00002C0C 3D40 FFFE move.w [A6 - 0x2], D0
00002C10 3D46 FFF8 move.w [A6 - 0x8], D6
00002C14 7020 moveq.l D0, 0x20
00002C16 D046 add.w D0, D6
00002C18 3D40 FFFC move.w [A6 - 0x4], D0
00002C1C 3A2E FFFE move.w D5, [A6 - 0x2]
00002C20 9A6E FFFA sub.w D5, [A6 - 0x6]
00002C24 700F moveq.l D0, 0x0F
00002C26 DA40 add.w D5, D0
00002C28 48C5 ext.l D5
00002C2A 8BFC 0010 divs.w D5, 0x10
00002C2E DA45 add.w D5, D5
00002C30 382E FFFC move.w D4, [A6 - 0x4]
00002C34 986E FFF8 sub.w D4, [A6 - 0x8]
00002C38 C9C5 muls.w D4, D5
00002C3A 486E FF8C pea.l [A6 - 0x74]
00002C3E A86F syscall OpenPort
00002C40 2F2E FF88 move.l -[A7], [A6 - 0x78]
00002C44 A873 syscall SetPort
00002C46 486E FFF8 pea.l [A6 - 0x8]
00002C4A 3007 move.w D0, D7
00002C4C 4440 neg.w D0
00002C4E 3F00 move.w -[A7], D0
00002C50 3006 move.w D0, D6
00002C52 4440 neg.w D0
00002C54 3F00 move.w -[A7], D0
00002C56 A8A8 syscall OffsetRect
00002C58 2D6E FFF8 FF94 move.l [A6 - 0x6C], [A6 - 0x8]
00002C5E 2D6E FFFC FF98 move.l [A6 - 0x68], [A6 - 0x4]
00002C64 3D45 FF92 move.w [A6 - 0x6E], D5
00002C68 2004 move.l D0, D4
00002C6A A11E syscall NewPtr, flags=1
00002C6C 2D48 FF8E move.l [A6 - 0x72], A0
00002C70 486E FF8C pea.l [A6 - 0x74]
00002C74 A873 syscall SetPort
00002C76 486E FFF8 pea.l [A6 - 0x8]
00002C7A A8A3 syscall EraseRect
00002C7C 42A7 clr.l -[A7]
00002C7E 2F3C 4943 4F4E move.l -[A7], 0x49434F4E /* 'ICON' */
00002C84 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002C88 A9A0 syscall GetResource
00002C8A 285F movea.l A4, [A7]+
00002C8C 200C move.l D0, A4
00002C8E 6710 beq +0x12 /* 00002CA0 */
00002C90 204C movea.l A0, A4
00002C92 A029 syscall HLock
00002C94 486E FFF8 pea.l [A6 - 0x8]
00002C98 2F0C move.l -[A7], A4
00002C9A A94B syscall PlotIcon
00002C9C 204C movea.l A0, A4
00002C9E A02A syscall HUnlock
label00002CA0:
00002CA0 486E FFF8 pea.l [A6 - 0x8]
00002CA4 3F07 move.w -[A7], D7
00002CA6 3F06 move.w -[A7], D6
00002CA8 A8A8 syscall OffsetRect
00002CAA 2F2E FF88 move.l -[A7], [A6 - 0x78]
00002CAE A873 syscall SetPort
00002CB0 3F2E 000E move.w -[A7], [A6 + 0xE]
00002CB4 3F2E 0014 move.w -[A7], [A6 + 0x14]
00002CB8 3F2E 0012 move.w -[A7], [A6 + 0x12]
00002CBC 3F2E 0010 move.w -[A7], [A6 + 0x10]
00002CC0 486E FFF8 pea.l [A6 - 0x8]
00002CC4 486E FF94 pea.l [A6 - 0x6C]
00002CC8 206E FF88 movea.l A0, [A6 - 0x78]
00002CCC 4868 0002 pea.l [A0 + 0x2]
00002CD0 486E FF8E pea.l [A6 - 0x72]
00002CD4 4EBA D32A jsr [PC - 0x2CD6 /* 00000000 */]
00002CD8 206E FF8E movea.l A0, [A6 - 0x72]
00002CDC A01F syscall DisposPtr/DisposePtr
00002CDE 486E FF8C pea.l [A6 - 0x74]
00002CE2 A87D syscall ClosePort
00002CE4 4CEE 10F0 FF74 movem.l D4,D5,D6,D7,A4, [A6 - 0x8C]
00002CEA 4E5E unlink A6
00002CEC 4E75 rts
fn00002CEE:
00002CEE 4E56 FF88 link A6, -0x0078
00002CF2 48E7 0308 movem.l -[A7], D6,D7,A4
00002CF6 486E FF88 pea.l [A6 - 0x78]
00002CFA A874 syscall GetPort
00002CFC 42A7 clr.l -[A7]
00002CFE 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00002D04 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002D08 A9A0 syscall GetResource
00002D0A 285F movea.l A4, [A7]+
00002D0C 200C move.l D0, A4
00002D0E 6700 00D4 beq +0xD6 /* 00002DE4 */
00002D12 204C movea.l A0, A4
00002D14 A029 syscall HLock
00002D16 426E FFFA clr.w [A6 - 0x6]
00002D1A 426E FFF8 clr.w [A6 - 0x8]
00002D1E 2054 movea.l A0, [A4]
00002D20 3028 0008 move.w D0, [A0 + 0x8]
00002D24 9068 0004 sub.w D0, [A0 + 0x4]
00002D28 3D40 FFFE move.w [A6 - 0x2], D0
00002D2C 2054 movea.l A0, [A4]
00002D2E 3028 0006 move.w D0, [A0 + 0x6]
00002D32 9068 0002 sub.w D0, [A0 + 0x2]
00002D36 3D40 FFFC move.w [A6 - 0x4], D0
00002D3A 3E2E FFFE move.w D7, [A6 - 0x2]
00002D3E 9E6E FFFA sub.w D7, [A6 - 0x6]
00002D42 700F moveq.l D0, 0x0F
00002D44 DE40 add.w D7, D0
00002D46 48C7 ext.l D7
00002D48 8FFC 0010 divs.w D7, 0x10
00002D4C DE47 add.w D7, D7
00002D4E 3C2E FFFC move.w D6, [A6 - 0x4]
00002D52 9C6E FFF8 sub.w D6, [A6 - 0x8]
00002D56 CDC7 muls.w D6, D7
00002D58 486E FF8C pea.l [A6 - 0x74]
00002D5C A86F syscall OpenPort
00002D5E 2F2E FF88 move.l -[A7], [A6 - 0x78]
00002D62 A873 syscall SetPort
00002D64 2D6E FFF8 FF94 move.l [A6 - 0x6C], [A6 - 0x8]
00002D6A 2D6E FFFC FF98 move.l [A6 - 0x68], [A6 - 0x4]
00002D70 3D47 FF92 move.w [A6 - 0x6E], D7
00002D74 2006 move.l D0, D6
00002D76 A11E syscall NewPtr, flags=1
00002D78 2D48 FF8E move.l [A6 - 0x72], A0
00002D7C 486E FF8C pea.l [A6 - 0x74]
00002D80 A873 syscall SetPort
00002D82 486E FFF8 pea.l [A6 - 0x8]
00002D86 A8A3 syscall EraseRect
00002D88 2F0C move.l -[A7], A4
00002D8A A9A2 syscall LoadResource
00002D8C 2F0C move.l -[A7], A4
00002D8E 486E FFF8 pea.l [A6 - 0x8]
00002D92 A8F6 syscall DrawPicture
00002D94 204C movea.l A0, A4
00002D96 A02A syscall HUnlock
00002D98 486E FFF8 pea.l [A6 - 0x8]
00002D9C 3F2E 000A move.w -[A7], [A6 + 0xA]
00002DA0 3F2E 000C move.w -[A7], [A6 + 0xC]
00002DA4 A8A8 syscall OffsetRect
00002DA6 2F2E FF88 move.l -[A7], [A6 - 0x78]
00002DAA A873 syscall SetPort
00002DAC 3F2E 000E move.w -[A7], [A6 + 0xE]
00002DB0 3F2E 0014 move.w -[A7], [A6 + 0x14]
00002DB4 3F2E 0012 move.w -[A7], [A6 + 0x12]
00002DB8 3F2E 0010 move.w -[A7], [A6 + 0x10]
00002DBC 486E FFF8 pea.l [A6 - 0x8]
00002DC0 486E FF94 pea.l [A6 - 0x6C]
00002DC4 206E FF88 movea.l A0, [A6 - 0x78]
00002DC8 4868 0002 pea.l [A0 + 0x2]
00002DCC 486E FF8E pea.l [A6 - 0x72]
00002DD0 4EBA D22E jsr [PC - 0x2DD2 /* 00000000 */]
00002DD4 206E FF8E movea.l A0, [A6 - 0x72]
00002DD8 A01F syscall DisposPtr/DisposePtr
00002DDA 486E FF8C pea.l [A6 - 0x74]
00002DDE A87D syscall ClosePort
00002DE0 4FEF 0018 lea.l A7, [A7 + 0x18]
label00002DE4:
00002DE4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00002DE8 4E5E unlink A6
00002DEA 4E75 rts
fn00002DEC:
00002DEC 4E56 FF78 link A6, -0x0088
00002DF0 48E7 0308 movem.l -[A7], D6,D7,A4
00002DF4 486E FF78 pea.l [A6 - 0x88]
00002DF8 A874 syscall GetPort
00002DFA 42A7 clr.l -[A7]
00002DFC 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
00002E02 3F3C 0102 move.w -[A7], 0x102
00002E06 A9A0 syscall GetResource
00002E08 285F movea.l A4, [A7]+
00002E0A 200C move.l D0, A4
00002E0C 6700 0116 beq +0x118 /* 00002F24 */
00002E10 204C movea.l A0, A4
00002E12 A029 syscall HLock
00002E14 426E FFFA clr.w [A6 - 0x6]
00002E18 426E FFF8 clr.w [A6 - 0x8]
00002E1C 2054 movea.l A0, [A4]
00002E1E 3028 0008 move.w D0, [A0 + 0x8]
00002E22 9068 0004 sub.w D0, [A0 + 0x4]
00002E26 3D40 FFFE move.w [A6 - 0x2], D0
00002E2A 2054 movea.l A0, [A4]
00002E2C 3028 0006 move.w D0, [A0 + 0x6]
00002E30 9068 0002 sub.w D0, [A0 + 0x2]
00002E34 3D40 FFFC move.w [A6 - 0x4], D0
00002E38 3E2E FFFE move.w D7, [A6 - 0x2]
00002E3C 9E6E FFFA sub.w D7, [A6 - 0x6]
00002E40 700F moveq.l D0, 0x0F
00002E42 DE40 add.w D7, D0
00002E44 48C7 ext.l D7
00002E46 8FFC 0010 divs.w D7, 0x10
00002E4A DE47 add.w D7, D7
00002E4C 3C2E FFFC move.w D6, [A6 - 0x4]
00002E50 9C6E FFF8 sub.w D6, [A6 - 0x8]
00002E54 CDC7 muls.w D6, D7
00002E56 486E FF7C pea.l [A6 - 0x84]
00002E5A A86F syscall OpenPort
00002E5C 2F2E FF78 move.l -[A7], [A6 - 0x88]
00002E60 A873 syscall SetPort
00002E62 2D6E FFF8 FF84 move.l [A6 - 0x7C], [A6 - 0x8]
00002E68 2D6E FFFC FF88 move.l [A6 - 0x78], [A6 - 0x4]
00002E6E 3D47 FF82 move.w [A6 - 0x7E], D7
00002E72 2006 move.l D0, D6
00002E74 A11E syscall NewPtr, flags=1
00002E76 2D48 FF7E move.l [A6 - 0x82], A0
00002E7A 486E FF7C pea.l [A6 - 0x84]
00002E7E A873 syscall SetPort
00002E80 486E FFF8 pea.l [A6 - 0x8]
00002E84 A8A3 syscall EraseRect
00002E86 2F0C move.l -[A7], A4
00002E88 A9A2 syscall LoadResource
00002E8A 2F0C move.l -[A7], A4
00002E8C 486E FFF8 pea.l [A6 - 0x8]
00002E90 A8F6 syscall DrawPicture
00002E92 204C movea.l A0, A4
00002E94 A02A syscall HUnlock
00002E96 486E FFF0 pea.l [A6 - 0x10]
00002E9A 42A7 clr.l -[A7]
00002E9C 2F3C 0014 0014 move.l -[A7], 0x140014
00002EA2 A8A7 syscall SetRect
00002EA4 2D6E FFF0 FFE8 move.l [A6 - 0x18], [A6 - 0x10]
00002EAA 2D6E FFF4 FFEC move.l [A6 - 0x14], [A6 - 0xC]
00002EB0 486E FFF0 pea.l [A6 - 0x10]
00002EB4 7014 moveq.l D0, 0x14
00002EB6 C1EE 0008 muls.w D0, [A6 + 0x8]
00002EBA 3F00 move.w -[A7], D0
00002EBC 4267 clr.w -[A7]
00002EBE A8A8 syscall OffsetRect
00002EC0 486E FFF0 pea.l [A6 - 0x10]
00002EC4 2F3C 0001 0001 move.l -[A7], 0x10001
00002ECA A8A9 syscall InsetRect
00002ECC 486E FFE8 pea.l [A6 - 0x18]
00002ED0 3F2E 000A move.w -[A7], [A6 + 0xA]
00002ED4 3F2E 000C move.w -[A7], [A6 + 0xC]
00002ED8 A8A8 syscall OffsetRect
00002EDA 486E FFE8 pea.l [A6 - 0x18]
00002EDE 2F3C 0001 0001 move.l -[A7], 0x10001
00002EE4 A8A9 syscall InsetRect
00002EE6 2F2E FF78 move.l -[A7], [A6 - 0x88]
00002EEA A873 syscall SetPort
00002EEC 3F2E 000E move.w -[A7], [A6 + 0xE]
00002EF0 3F2E 0014 move.w -[A7], [A6 + 0x14]
00002EF4 3F2E 0012 move.w -[A7], [A6 + 0x12]
00002EF8 3F2E 0010 move.w -[A7], [A6 + 0x10]
00002EFC 486E FFE8 pea.l [A6 - 0x18]
00002F00 486E FFF0 pea.l [A6 - 0x10]
00002F04 206E FF78 movea.l A0, [A6 - 0x88]
00002F08 4868 0002 pea.l [A0 + 0x2]
00002F0C 486E FF7E pea.l [A6 - 0x82]
00002F10 4EBA D0EE jsr [PC - 0x2F12 /* 00000000 */]
00002F14 206E FF7E movea.l A0, [A6 - 0x82]
00002F18 A01F syscall DisposPtr/DisposePtr
00002F1A 486E FF7C pea.l [A6 - 0x84]
00002F1E A87D syscall ClosePort
00002F20 4FEF 0018 lea.l A7, [A7 + 0x18]
label00002F24:
00002F24 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00002F28 4E5E unlink A6
00002F2A 4E75 rts
fn00002F2C:
00002F2C 4E56 FFFC link A6, -0x0004
00002F30 486E FFFC pea.l [A6 - 0x4]
00002F34 A874 syscall GetPort
00002F36 2F2D E792 move.l -[A7], [A5 - 0x186E]
00002F3A A873 syscall SetPort
00002F3C 486D E772 pea.l [A5 - 0x188E]
00002F40 A8A3 syscall EraseRect
00002F42 486D E77A pea.l [A5 - 0x1886]
00002F46 A8A3 syscall EraseRect
00002F48 486D E782 pea.l [A5 - 0x187E]
00002F4C A8A3 syscall EraseRect
00002F4E 486D E78A pea.l [A5 - 0x1876]
00002F52 A8A3 syscall EraseRect
00002F54 4878 00CD push.l 0xCD
00002F58 A862 syscall ForeColor
00002F5A 486D E772 pea.l [A5 - 0x188E]
00002F5E 486D F9C4 pea.l [A5 - 0x63C]
00002F62 A8A5 syscall FillRect
00002F64 486D E77A pea.l [A5 - 0x1886]
00002F68 486D F9C4 pea.l [A5 - 0x63C]
00002F6C A8A5 syscall FillRect
00002F6E 486D E782 pea.l [A5 - 0x187E]
00002F72 486D F9C4 pea.l [A5 - 0x63C]
00002F76 A8A5 syscall FillRect
00002F78 486D E78A pea.l [A5 - 0x1876]
00002F7C 486D F9C4 pea.l [A5 - 0x63C]
00002F80 A8A5 syscall FillRect
00002F82 4878 0021 push.l 0x21 /* '!' */
00002F86 A862 syscall ForeColor
00002F88 486D E772 pea.l [A5 - 0x188E]
00002F8C A8A1 syscall FrameRect
00002F8E 486D E77A pea.l [A5 - 0x1886]
00002F92 A8A1 syscall FrameRect
00002F94 486D E782 pea.l [A5 - 0x187E]
00002F98 A8A1 syscall FrameRect
00002F9A 486D E78A pea.l [A5 - 0x1876]
00002F9E A8A1 syscall FrameRect
00002FA0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002FA4 A873 syscall SetPort
00002FA6 4E5E unlink A6
00002FA8 4E75 rts
fn00002FAA:
00002FAA 4E56 FFFE link A6, -0x0002
00002FAE 42A7 clr.l -[A7]
00002FB0 3F3C 0100 move.w -[A7], 0x100
00002FB4 A9BF syscall GetRMenu
00002FB6 2B5F F72C move.l [A5 - 0x8D4], [A7]+
00002FBA 2F2D F72C move.l -[A7], [A5 - 0x8D4]
00002FBE 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00002FC4 A94D syscall AppendResMenu/AddResMenu
00002FC6 42A7 clr.l -[A7]
00002FC8 3F3C 0101 move.w -[A7], 0x101
00002FCC A9BF syscall GetRMenu
00002FCE 2B5F F730 move.l [A5 - 0x8D0], [A7]+
00002FD2 42A7 clr.l -[A7]
00002FD4 3F3C 0102 move.w -[A7], 0x102
00002FD8 A9BF syscall GetRMenu
00002FDA 2B5F F734 move.l [A5 - 0x8CC], [A7]+
00002FDE 42A7 clr.l -[A7]
00002FE0 3F3C 0103 move.w -[A7], 0x103
00002FE4 A9BF syscall GetRMenu
00002FE6 2B5F F738 move.l [A5 - 0x8C8], [A7]+
00002FEA 2F2D F738 move.l -[A7], [A5 - 0x8C8]
00002FEE 4EBA 0778 jsr [PC + 0x778 /* 00003768 */]
00002FF2 4297 clr.l [A7]
00002FF4 3F3C 0104 move.w -[A7], 0x104
00002FF8 A9BF syscall GetRMenu
00002FFA 2B5F F73C move.l [A5 - 0x8C4], [A7]+
00002FFE 2F2D F72C move.l -[A7], [A5 - 0x8D4]
00003002 4267 clr.w -[A7]
00003004 A935 syscall InsertMenu
00003006 2F2D F730 move.l -[A7], [A5 - 0x8D0]
0000300A 4267 clr.w -[A7]
0000300C A935 syscall InsertMenu
0000300E 2F2D F734 move.l -[A7], [A5 - 0x8CC]
00003012 4267 clr.w -[A7]
00003014 A935 syscall InsertMenu
00003016 2F2D F738 move.l -[A7], [A5 - 0x8C8]
0000301A 4267 clr.w -[A7]
0000301C A935 syscall InsertMenu
0000301E 2F2D F73C move.l -[A7], [A5 - 0x8C4]
00003022 4267 clr.w -[A7]
00003024 A935 syscall InsertMenu
00003026 2F2D F738 move.l -[A7], [A5 - 0x8C8]
0000302A 7003 moveq.l D0, 0x03
0000302C 3B40 E67E move.w [A5 - 0x1982], D0
00003030 3F00 move.w -[A7], D0
00003032 1F3C 0001 move.b -[A7], 0x1
00003036 A945 syscall CheckItem
00003038 A937 syscall DrawMenuBar
0000303A 4E5E unlink A6
0000303C 4E75 rts
fn0000303E:
0000303E 2F2D F738 move.l -[A7], [A5 - 0x8C8]
00003042 3F3C 0002 move.w -[A7], 0x2
00003046 A93A syscall DisableItem
00003048 A937 syscall DrawMenuBar
0000304A 4E75 rts
fn0000304C:
0000304C 2F2D F738 move.l -[A7], [A5 - 0x8C8]
00003050 3F3C 0002 move.w -[A7], 0x2
00003054 A939 syscall EnableItem
00003056 A937 syscall DrawMenuBar
00003058 4E75 rts
fn0000305A:
0000305A 2F07 move.l -[A7], D7
0000305C 7E01 moveq.l D7, 0x01
0000305E 600C bra +0xE /* 0000306C */
label00003060:
00003060 2F2D F738 move.l -[A7], [A5 - 0x8C8]
00003064 3F07 move.w -[A7], D7
00003066 4227 clr.b -[A7]
00003068 A945 syscall CheckItem
0000306A 5247 addq.w D7, 1
label0000306C:
0000306C BE6D F6E2 cmp.w D7, [A5 - 0x91E]
00003070 6FEE ble -0x10 /* 00003060 */
00003072 2F2D F738 move.l -[A7], [A5 - 0x8C8]
00003076 2F3C 0100 0002 move.l -[A7], 0x1000002
0000307C A945 syscall CheckItem
0000307E 3B7C 0002 E67E move.w [A5 - 0x1982], 0x2
00003084 2E1F move.l D7, [A7]+
00003086 4E75 rts
fn00003088:
00003088 2F2D F738 move.l -[A7], [A5 - 0x8C8]
0000308C 4267 clr.w -[A7]
0000308E A939 syscall EnableItem
00003090 2F2D F73C move.l -[A7], [A5 - 0x8C4]
00003094 4267 clr.w -[A7]
00003096 A939 syscall EnableItem
00003098 A937 syscall DrawMenuBar
0000309A 4E75 rts
fn0000309C:
0000309C 2F2D F738 move.l -[A7], [A5 - 0x8C8]
000030A0 4267 clr.w -[A7]
000030A2 A93A syscall DisableItem
000030A4 2F2D F73C move.l -[A7], [A5 - 0x8C4]
000030A8 4267 clr.w -[A7]
000030AA A93A syscall DisableItem
000030AC A937 syscall DrawMenuBar
000030AE 4E75 rts
fn000030B0:
000030B0 4E56 FF90 link A6, -0x0070
000030B4 48E7 0700 movem.l -[A7], D5,D6,D7
000030B8 2A2E 0008 move.l D5, [A6 + 0x8]
000030BC 7010 moveq.l D0, 0x10
000030BE E0AD lsr D5, D0
000030C0 3C2E 000A move.w D6, [A6 + 0xA]
000030C4 3005 move.w D0, D5
000030C6 6B00 0138 bmi +0x13A /* 00003200 */
000030CA 0440 0102 subi.w D0, 0x102
000030CE 6700 00A2 beq +0xA4 /* 00003172 */
000030D2 6A0A bpl +0xC /* 000030DE */
000030D4 5440 addq.w D0, 2
000030D6 6714 beq +0x16 /* 000030EC */
000030D8 6A5A bpl +0x5C /* 00003134 */
000030DA 6000 0124 bra +0x126 /* 00003200 */
label000030DE:
000030DE 5540 subq.w D0, 2
000030E0 6700 00F2 beq +0xF4 /* 000031D4 */
000030E4 6A00 011A bpl +0x11C /* 00003200 */
000030E8 6000 00AE bra +0xB0 /* 00003198 */
label000030EC:
000030EC 3006 move.w D0, D6
000030EE 671E beq +0x20 /* 0000310E */
000030F0 6B1C bmi +0x1E /* 0000310E */
000030F2 5540 subq.w D0, 2
000030F4 670A beq +0xC /* 00003100 */
000030F6 6A16 bpl +0x18 /* 0000310E */
000030F8 4EBA 0774 jsr [PC + 0x774 /* 0000386E */]
000030FC 6000 0102 bra +0x104 /* 00003200 */
label00003100:
00003100 3F3C 1388 move.w -[A7], 0x1388
00003104 4EBA D822 jsr [PC - 0x27DE /* 00000928 */]
00003108 548F addq.l A7, 2
0000310A 6000 00F4 bra +0xF6 /* 00003200 */
label0000310E:
0000310E 2F2D F72C move.l -[A7], [A5 - 0x8D4]
00003112 3F06 move.w -[A7], D6
00003114 486E FFD4 pea.l [A6 - 0x2C]
00003118 A946 syscall GetMenuItemText/GetItem
0000311A 486E FF90 pea.l [A6 - 0x70]
0000311E A874 syscall GetPort
00003120 4267 clr.w -[A7]
00003122 486E FFD4 pea.l [A6 - 0x2C]
00003126 A9B6 syscall OpenDeskAcc
00003128 2F2E FF90 move.l -[A7], [A6 - 0x70]
0000312C A873 syscall SetPort
0000312E 548F addq.l A7, 2
00003130 6000 00CE bra +0xD0 /* 00003200 */
label00003134:
00003134 3006 move.w D0, D6
00003136 6700 00C8 beq +0xCA /* 00003200 */
0000313A 6B00 00C4 bmi +0xC6 /* 00003200 */
0000313E 5740 subq.w D0, 3
00003140 6726 beq +0x28 /* 00003168 */
00003142 6A00 00BC bpl +0xBE /* 00003200 */
00003146 5240 addq.w D0, 1
00003148 6A00 00B6 bpl +0xB8 /* 00003200 */
0000314C 0C6D 0001 E7A6 cmpi.w [A5 - 0x185A], 0x1
00003152 6606 bne +0x8 /* 0000315A */
00003154 426D E7A6 clr.w [A5 - 0x185A]
00003158 6006 bra +0x8 /* 00003160 */
label0000315A:
0000315A 3B7C 0001 E7A6 move.w [A5 - 0x185A], 0x1
label00003160:
00003160 4EBA 00F0 jsr [PC + 0xF0 /* 00003252 */]
00003164 6000 009A bra +0x9C /* 00003200 */
label00003168:
00003168 3B7C 0001 E632 move.w [A5 - 0x19CE], 0x1
0000316E 6000 0090 bra +0x92 /* 00003200 */
label00003172:
00003172 4227 clr.b -[A7]
00003174 70FF moveq.l D0, 0xFFFFFFFF
00003176 D046 add.w D0, D6
00003178 3F00 move.w -[A7], D0
0000317A A9C2 syscall SysEdit
0000317C 7000 moveq.l D0, 0x00
0000317E 101F move.b D0, [A7]+
00003180 4A40 tst.w D0
00003182 667C bne +0x7E /* 00003200 */
00003184 3006 move.w D0, D6
00003186 0C40 0006 cmpi.w D0, 0x6
0000318A 6274 bhi +0x76 /* 00003200 */
0000318C 43FA 007E lea.l A1, [PC + 0x7E /* 0000320C, value 0xFFF4FFF4 */]
00003190 D040 add.w D0, D0
00003192 D2F1 0000 add.w A1, [A1 + D0.w]
00003196 4ED1 jmp [A1]
label00003198:
00003198 7E01 moveq.l D7, 0x01
0000319A 600C bra +0xE /* 000031A8 */
label0000319C:
0000319C 2F2D F738 move.l -[A7], [A5 - 0x8C8]
000031A0 3F07 move.w -[A7], D7
000031A2 4227 clr.b -[A7]
000031A4 A945 syscall CheckItem
000031A6 5247 addq.w D7, 1
label000031A8:
000031A8 BE6D F6E2 cmp.w D7, [A5 - 0x91E]
000031AC 6FEE ble -0x10 /* 0000319C */
000031AE 2F2D F738 move.l -[A7], [A5 - 0x8C8]
000031B2 3F06 move.w -[A7], D6
000031B4 1F3C 0001 move.b -[A7], 0x1
000031B8 A945 syscall CheckItem
000031BA 3B46 E67E move.w [A5 - 0x1982], D6
000031BE 0C46 0001 cmpi.w D6, 0x1
000031C2 6606 bne +0x8 /* 000031CA */
000031C4 4EBA 02B2 jsr [PC + 0x2B2 /* 00003478 */]
000031C8 6004 bra +0x6 /* 000031CE */
label000031CA:
000031CA 4EBA E5BA jsr [PC - 0x1A46 /* 00001786 */]
label000031CE:
000031CE 4EBA E9AC jsr [PC - 0x1654 /* 00001B7C */]
000031D2 602C bra +0x2E /* 00003200 */
label000031D4:
000031D4 3006 move.w D0, D6
000031D6 6728 beq +0x2A /* 00003200 */
000031D8 6B26 bmi +0x28 /* 00003200 */
000031DA 5B40 subq.w D0, 5
000031DC 6A22 bpl +0x24 /* 00003200 */
000031DE 7004 moveq.l D0, 0x04
000031E0 D046 add.w D0, D6
000031E2 D046 add.w D0, D6
000031E4 3B40 E7A8 move.w [A5 - 0x1858], D0
000031E8 302D E7A8 move.w D0, [A5 - 0x1858]
000031EC 3B40 E67C move.w [A5 - 0x1984], D0
000031F0 3B40 E680 move.w [A5 - 0x1980], D0
000031F4 4EBA ECE6 jsr [PC - 0x131A /* 00001EDC */]
000031F8 4EBA EA10 jsr [PC - 0x15F0 /* 00001C0A */]
000031FC 4EBA 001C jsr [PC + 0x1C /* 0000321A */]
label00003200:
00003200 4267 clr.w -[A7]
00003202 A938 syscall HiliteMenu
00003204 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00003208 4E5E unlink A6
0000320A 4E75 rts
0000320C FFF4 .invalid <<F/7/7>>
0000320E FFF4 .invalid <<F/7/7>>
00003210 FFF4 .invalid <<F/7/7>>
00003212 FFF4 .invalid <<F/7/7>>
00003214 FFF4 .invalid <<F/7/7>>
00003216 FFF4 .invalid <<F/7/7>>
00003218 FFF4 .invalid <<F/7/7>>
fn0000321A:
0000321A 48E7 0300 movem.l -[A7], D6,D7
0000321E 3C2D E7A8 move.w D6, [A5 - 0x1858]
00003222 5946 subq.w D6, 4
00003224 48C6 ext.l D6
00003226 8DFC 0002 divs.w D6, 0x2
0000322A 7E01 moveq.l D7, 0x01
0000322C 600C bra +0xE /* 0000323A */
label0000322E:
0000322E 2F2D F73C move.l -[A7], [A5 - 0x8C4]
00003232 3F07 move.w -[A7], D7
00003234 4227 clr.b -[A7]
00003236 A945 syscall CheckItem
00003238 5247 addq.w D7, 1
label0000323A:
0000323A 0C47 0004 cmpi.w D7, 0x4
0000323E 6FEE ble -0x10 /* 0000322E */
00003240 2F2D F73C move.l -[A7], [A5 - 0x8C4]
00003244 3F06 move.w -[A7], D6
00003246 1F3C 0001 move.b -[A7], 0x1
0000324A A945 syscall CheckItem
0000324C 4CDF 00C0 movem.l D6,D7, [A7]+
00003250 4E75 rts
fn00003252:
00003252 4A6D E7A6 tst.w [A5 - 0x185A]
00003256 670E beq +0x10 /* 00003266 */
00003258 2F2D F730 move.l -[A7], [A5 - 0x8D0]
0000325C 2F3C 0100 0001 move.l -[A7], 0x1000001
00003262 A945 syscall CheckItem
00003264 600A bra +0xC /* 00003270 */
label00003266:
00003266 2F2D F730 move.l -[A7], [A5 - 0x8D0]
0000326A 4878 0001 push.l 0x1
0000326E A945 syscall CheckItem
label00003270:
00003270 4E75 rts
fn00003272:
00003272 4E56 0000 link A6, 0
00003276 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
0000327A 206E 0008 movea.l A0, [A6 + 0x8]
0000327E 4250 clr.w [A0]
00003280 226E 000C movea.l A1, [A6 + 0xC]
00003284 4251 clr.w [A1]
00003286 3E2D F962 move.w D7, [A5 - 0x69E]
0000328A 3C2D F966 move.w D6, [A5 - 0x69A]
0000328E 3A2D F960 move.w D5, [A5 - 0x6A0]
00003292 382D F964 move.w D4, [A5 - 0x69C]
00003296 0C46 0200 cmpi.w D6, 0x200
0000329A 6F12 ble +0x14 /* 000032AE */
0000329C 2006 move.l D0, D6
0000329E 0640 FE00 addi.w D0, 0xFE00
000032A2 48C0 ext.l D0
000032A4 81FC 0002 divs.w D0, 0x2
000032A8 206E 0008 movea.l A0, [A6 + 0x8]
000032AC 3080 move.w [A0], D0
label000032AE:
000032AE 0C44 0156 cmpi.w D4, 0x156
000032B2 6F12 ble +0x14 /* 000032C6 */
000032B4 2004 move.l D0, D4
000032B6 0640 FEAA addi.w D0, 0xFEAA
000032BA 48C0 ext.l D0
000032BC 81FC 0002 divs.w D0, 0x2
000032C0 206E 000C movea.l A0, [A6 + 0xC]
000032C4 3080 move.w [A0], D0
label000032C6:
000032C6 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
000032CA 4E5E unlink A6
000032CC 4E75 rts
export_12:
000032CE 4E56 FDEA link A6, -0x0216
000032D2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000032D6 286E 0010 movea.l A4, [A6 + 0x10]
000032DA 266E 000C movea.l A3, [A6 + 0xC]
000032DE 206E 0008 movea.l A0, [A6 + 0x8]
000032E2 30BC 0064 move.w [A0], 0x64 /* 'd' */
000032E6 7A01 moveq.l D5, 0x01
000032E8 DA6C 00A4 add.w D5, [A4 + 0xA4]
000032EC 246C 00A0 movea.l A2, [A4 + 0xA0]
000032F0 2252 movea.l A1, [A2]
000032F2 3629 0022 move.w D3, [A1 + 0x22]
000032F6 3D69 0020 FDEA move.w [A6 - 0x216], [A1 + 0x20]
000032FC 3803 move.w D4, D3
000032FE 986E FDEA sub.w D4, [A6 - 0x216]
00003302 2F2D F740 move.l -[A7], [A5 - 0x8C0]
00003306 486E FEEC pea.l [A6 - 0x114]
0000330A A990 syscall GetDialogItemText/GetIText
0000330C 486E FEEC pea.l [A6 - 0x114]
00003310 4EBA 0938 jsr [PC + 0x938 /* 00003C4A */]
00003314 2E80 move.l [A7], D0
00003316 486E FDEC pea.l [A6 - 0x214]
0000331A 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000331E 486E FDEC pea.l [A6 - 0x214]
00003322 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00003326 3C00 move.w D6, D0
00003328 486E FEEC pea.l [A6 - 0x114]
0000332C 4EBA 0900 jsr [PC + 0x900 /* 00003C2E */]
00003330 0C46 0001 cmpi.w D6, 0x1
00003334 4FEF 0010 lea.l A7, [A7 + 0x10]
00003338 6C0C bge +0xE /* 00003346 */
0000333A 2F2D F744 move.l -[A7], [A5 - 0x8BC]
0000333E 3F3C 00FF move.w -[A7], 0xFF
00003342 A95D syscall HiliteControl
00003344 6008 bra +0xA /* 0000334E */
label00003346:
00003346 2F2D F744 move.l -[A7], [A5 - 0x8BC]
0000334A 4267 clr.w -[A7]
0000334C A95D syscall HiliteControl
label0000334E:
0000334E 3013 move.w D0, [A3]
00003350 6B00 0114 bmi +0x116 /* 00003466 */
00003354 5B40 subq.w D0, 5
00003356 6714 beq +0x16 /* 0000336C */
00003358 6A08 bpl +0xA /* 00003362 */
0000335A 5440 addq.w D0, 2
0000335C 670E beq +0x10 /* 0000336C */
0000335E 6000 0106 bra +0x108 /* 00003466 */
label00003362:
00003362 5540 subq.w D0, 2
00003364 6A00 0100 bpl +0x102 /* 00003466 */
00003368 6000 00DA bra +0xDC /* 00003444 */
label0000336C:
0000336C 7EFF moveq.l D7, 0xFFFFFFFF
0000336E CE2B 0005 and.b D7, [A3 + 0x5]
00003372 0C07 000D cmpi.b D7, 0xD /* '\r' */
00003376 6706 beq +0x8 /* 0000337E */
00003378 0C07 0003 cmpi.b D7, 0x3
0000337C 6616 bne +0x18 /* 00003394 */
label0000337E:
0000337E 4A46 tst.w D6
00003380 6708 beq +0xA /* 0000338A */
00003382 206E 0008 movea.l A0, [A6 + 0x8]
00003386 30BC 0001 move.w [A0], 0x1
label0000338A:
0000338A 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00003390 6000 00D8 bra +0xDA /* 0000346A */
label00003394:
00003394 0C07 0008 cmpi.b D7, 0x8
00003398 6716 beq +0x18 /* 000033B0 */
0000339A 0C07 0009 cmpi.b D7, 0x9 /* '\t' */
0000339E 6710 beq +0x12 /* 000033B0 */
000033A0 1007 move.b D0, D7
000033A2 4880 ext.w D0
000033A4 3F00 move.w -[A7], D0
000033A6 4EBA 0858 jsr [PC + 0x858 /* 00003C00 */]
000033AA 4A40 tst.w D0
000033AC 548F addq.l A7, 2
000033AE 6708 beq +0xA /* 000033B8 */
label000033B0:
000033B0 422E 0014 clr.b [A6 + 0x14]
000033B4 6000 00B4 bra +0xB6 /* 0000346A */
label000033B8:
000033B8 1007 move.b D0, D7
000033BA 4880 ext.w D0
000033BC 3F00 move.w -[A7], D0
000033BE 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
000033C2 1E00 move.b D7, D0
000033C4 0C07 0041 cmpi.b D7, 0x41 /* 'A' */
000033C8 548F addq.l A7, 2
000033CA 6C06 bge +0x8 /* 000033D2 */
000033CC 0C07 0020 cmpi.b D7, 0x20 /* ' ' */
000033D0 6606 bne +0x8 /* 000033D8 */
label000033D2:
000033D2 0C07 005A cmpi.b D7, 0x5A /* 'Z' */
000033D6 6F10 ble +0x12 /* 000033E8 */
label000033D8:
000033D8 3F3C 0002 move.w -[A7], 0x2
000033DC A9C8 syscall SysBeep
000033DE 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000033E4 6000 0084 bra +0x86 /* 0000346A */
label000033E8:
000033E8 0C45 0003 cmpi.w D5, 0x3
000033EC 6648 bne +0x4A /* 00003436 */
000033EE 2F2D F740 move.l -[A7], [A5 - 0x8C0]
000033F2 486E FEEC pea.l [A6 - 0x114]
000033F6 A990 syscall GetDialogItemText/GetIText
000033F8 486E FEEC pea.l [A6 - 0x114]
000033FC 4EBA 084C jsr [PC + 0x84C /* 00003C4A */]
00003400 2E80 move.l [A7], D0
00003402 486E FDEC pea.l [A6 - 0x214]
00003406 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
0000340A 486E FEEC pea.l [A6 - 0x114]
0000340E 4EBA 081E jsr [PC + 0x81E /* 00003C2E */]
00003412 486E FDEC pea.l [A6 - 0x214]
00003416 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
0000341A 7210 moveq.l D1, 0x10
0000341C B280 cmp.l D1, D0
0000341E 4FEF 0010 lea.l A7, [A7 + 0x10]
00003422 6612 bne +0x14 /* 00003436 */
00003424 4A44 tst.w D4
00003426 660E bne +0x10 /* 00003436 */
00003428 3F3C 0002 move.w -[A7], 0x2
0000342C A9C8 syscall SysBeep
0000342E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00003434 6034 bra +0x36 /* 0000346A */
label00003436:
00003436 206E 0008 movea.l A0, [A6 + 0x8]
0000343A 30BC 0064 move.w [A0], 0x64 /* 'd' */
0000343E 422E 0014 clr.b [A6 + 0x14]
00003442 6026 bra +0x28 /* 0000346A */
label00003444:
00003444 B9EB 0002 cmpa.l A4, [A3 + 0x2]
00003448 660E bne +0x10 /* 00003458 */
0000344A 3F3C 0001 move.w -[A7], 0x1
0000344E 2F0C move.l -[A7], A4
00003450 4EBA D85C jsr [PC - 0x27A4 /* 00000CAE */]
00003454 5C8F addq.l A7, 6
00003456 6008 bra +0xA /* 00003460 */
label00003458:
00003458 2F0B move.l -[A7], A3
0000345A 4EBA DEDA jsr [PC - 0x2126 /* 00001336 */]
0000345E 588F addq.l A7, 4
label00003460:
00003460 422E 0014 clr.b [A6 + 0x14]
00003464 6004 bra +0x6 /* 0000346A */
label00003466:
00003466 422E 0014 clr.b [A6 + 0x14]
label0000346A:
0000346A 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000346E 4E5E unlink A6
00003470 205F movea.l A0, [A7]+
00003472 4FEF 000C lea.l A7, [A7 + 0xC]
00003476 4ED0 jmp [A0]
fn00003478:
00003478 4E56 FDEC link A6, -0x0214
0000347C 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00003480 3E3C 014D move.w D7, 0x14D
00003484 7A00 moveq.l D5, 0x00
00003486 422E FEF0 clr.b [A6 - 0x110]
0000348A 422E FDF0 clr.b [A6 - 0x210]
0000348E 486D F968 pea.l [A5 - 0x698]
00003492 A851 syscall SetCursor
00003494 486E FDEC pea.l [A6 - 0x214]
00003498 A874 syscall GetPort
0000349A A852 syscall HideCursor
0000349C 42A7 clr.l -[A7]
0000349E 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000034A4 3F07 move.w -[A7], D7
000034A6 A9A0 syscall GetResource
000034A8 285F movea.l A4, [A7]+
000034AA 2F0C move.l -[A7], A4
000034AC A9A2 syscall LoadResource
000034AE 204C movea.l A0, A4
000034B0 A04A syscall HNoPurge
000034B2 264C movea.l A3, A4
000034B4 2C13 move.l D6, [A3]
000034B6 2F06 move.l -[A7], D6
000034B8 4EBA 0248 jsr [PC + 0x248 /* 00003702 */]
000034BC 4297 clr.l [A7]
000034BE 3F07 move.w -[A7], D7
000034C0 42A7 clr.l -[A7]
000034C2 4878 FFFF push.l 0xFFFF
000034C6 A97C syscall GetNewDialog
000034C8 245F movea.l A2, [A7]+
000034CA 2F0A move.l -[A7], A2
000034CC A91F syscall SelectWindow
000034CE 2F0A move.l -[A7], A2
000034D0 A873 syscall SetPort
000034D2 A853 syscall ShowCursor
000034D4 2F0A move.l -[A7], A2
000034D6 3F3C 0001 move.w -[A7], 0x1
000034DA 486E FFFE pea.l [A6 - 0x2]
000034DE 486D F744 pea.l [A5 - 0x8BC]
000034E2 486E FFF0 pea.l [A6 - 0x10]
000034E6 A98D syscall GetDialogItem/GetDItem
000034E8 3F3C 0001 move.w -[A7], 0x1
000034EC 2F0A move.l -[A7], A2
000034EE 4EBA D7BE jsr [PC - 0x2842 /* 00000CAE */]
000034F2 2E8A move.l [A7], A2
000034F4 3F3C 0003 move.w -[A7], 0x3
000034F8 486E FFFE pea.l [A6 - 0x2]
000034FC 486D F740 pea.l [A5 - 0x8C0]
00003500 486E FFF0 pea.l [A6 - 0x10]
00003504 A98D syscall GetDialogItem/GetDItem
00003506 548F addq.l A7, 2
00003508 6000 00A6 bra +0xA8 /* 000035B0 */
label0000350C:
0000350C 486D 0082 pea.l [A5 + 0x82 /* export_12 */]
00003510 486E FFFC pea.l [A6 - 0x4]
00003514 A991 syscall ModalDialog
00003516 2F2D F740 move.l -[A7], [A5 - 0x8C0]
0000351A 486E FEF0 pea.l [A6 - 0x110]
0000351E A990 syscall GetDialogItemText/GetIText
00003520 486E FEF0 pea.l [A6 - 0x110]
00003524 4EBA 0724 jsr [PC + 0x724 /* 00003C4A */]
00003528 2E80 move.l [A7], D0
0000352A 486E FDF0 pea.l [A6 - 0x210]
0000352E 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00003532 486E FDF0 pea.l [A6 - 0x210]
00003536 4EBA E34A jsr [PC - 0x1CB6 /* 00001882 */]
0000353A 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1
00003540 4FEF 000C lea.l A7, [A7 + 0xC]
00003544 6650 bne +0x52 /* 00003596 */
00003546 486E FDF0 pea.l [A6 - 0x210]
0000354A 4EBA 0080 jsr [PC + 0x80 /* 000035CC */]
0000354E 4A40 tst.w D0
00003550 588F addq.l A7, 4
00003552 661E bne +0x20 /* 00003572 */
00003554 3F3C 0002 move.w -[A7], 0x2
00003558 A9C8 syscall SysBeep
0000355A 2F2D F740 move.l -[A7], [A5 - 0x8C0]
0000355E 486D F748 pea.l [A5 - 0x8B8]
00003562 A98F syscall SetDialogItemText/SetIText
00003564 2F0A move.l -[A7], A2
00003566 4878 0003 push.l 0x3
0000356A 3F3C 03E8 move.w -[A7], 0x3E8
0000356E A97E syscall SelectDialogItemText/SelIText
00003570 603E bra +0x40 /* 000035B0 */
label00003572:
00003572 4EBA EA60 jsr [PC - 0x15A0 /* 00001FD4 */]
00003576 486E FDF0 pea.l [A6 - 0x210]
0000357A 486D E634 pea.l [A5 - 0x19CC]
0000357E 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00003582 486E FDF0 pea.l [A6 - 0x210]
00003586 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
0000358A 3B40 E646 move.w [A5 - 0x19BA], D0
0000358E 7A01 moveq.l D5, 0x01
00003590 4FEF 000C lea.l A7, [A7 + 0xC]
00003594 601A bra +0x1C /* 000035B0 */
label00003596:
00003596 0C6E 0004 FFFC cmpi.w [A6 - 0x4], 0x4
0000359C 6612 bne +0x14 /* 000035B0 */
0000359E 3B7C 0003 E67E move.w [A5 - 0x1982], 0x3
000035A4 4EBA E1E0 jsr [PC - 0x1E20 /* 00001786 */]
000035A8 3B7C 0001 E67E move.w [A5 - 0x1982], 0x1
000035AE 7A01 moveq.l D5, 0x01
label000035B0:
000035B0 4A05 tst.b D5
000035B2 6700 FF58 beq -0xA6 /* 0000350C */
000035B6 2F0C move.l -[A7], A4
000035B8 A9A3 syscall ReleaseResource
000035BA 2F0A move.l -[A7], A2
000035BC A983 syscall DisposeDialog
000035BE 2F2E FDEC move.l -[A7], [A6 - 0x214]
000035C2 A873 syscall SetPort
000035C4 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
000035C8 4E5E unlink A6
000035CA 4E75 rts
fn000035CC:
000035CC 4E56 0000 link A6, 0
000035D0 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000035D4 7800 moveq.l D4, 0x00
000035D6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000035DA 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
000035DE 3A00 move.w D5, D0
000035E0 0C45 0010 cmpi.w D5, 0x10
000035E4 588F addq.l A7, 4
000035E6 6E06 bgt +0x8 /* 000035EE */
000035E8 0C45 0001 cmpi.w D5, 0x1
000035EC 6C04 bge +0x6 /* 000035F2 */
label000035EE:
000035EE 7000 moveq.l D0, 0x00
000035F0 604A bra +0x4C /* 0000363C */
label000035F2:
000035F2 7E00 moveq.l D7, 0x00
000035F4 6038 bra +0x3A /* 0000362E */
label000035F6:
000035F6 206E 0008 movea.l A0, [A6 + 0x8]
000035FA 1C30 7000 move.b D6, [A0 + D7.w]
000035FE 4886 ext.w D6
00003600 3F06 move.w -[A7], D6
00003602 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
00003606 3C00 move.w D6, D0
00003608 0C46 005A cmpi.w D6, 0x5A /* 'Z' */
0000360C 548F addq.l A7, 2
0000360E 6F04 ble +0x6 /* 00003614 */
00003610 7000 moveq.l D0, 0x00
00003612 6028 bra +0x2A /* 0000363C */
label00003614:
00003614 0C46 0041 cmpi.w D6, 0x41 /* 'A' */
00003618 6C0A bge +0xC /* 00003624 */
0000361A 0C46 0020 cmpi.w D6, 0x20 /* ' ' */
0000361E 6704 beq +0x6 /* 00003624 */
00003620 7000 moveq.l D0, 0x00
00003622 6018 bra +0x1A /* 0000363C */
label00003624:
00003624 0C46 0020 cmpi.w D6, 0x20 /* ' ' */
00003628 6602 bne +0x4 /* 0000362C */
0000362A 5244 addq.w D4, 1
label0000362C:
0000362C 5247 addq.w D7, 1
label0000362E:
0000362E BA47 cmp.w D5, D7
00003630 6EC4 bgt -0x3A /* 000035F6 */
00003632 B845 cmp.w D4, D5
00003634 6604 bne +0x6 /* 0000363A */
00003636 7000 moveq.l D0, 0x00
00003638 6002 bra +0x4 /* 0000363C */
label0000363A:
0000363A 7001 moveq.l D0, 0x01
label0000363C:
0000363C 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00003640 4E5E unlink A6
00003642 4E75 rts
fn00003644:
00003644 4E56 FFF0 link A6, -0x0010
00003648 48E7 0308 movem.l -[A7], D6,D7,A4
0000364C 7C00 moveq.l D6, 0x00
0000364E 42A7 clr.l -[A7]
00003650 3F3C 0147 move.w -[A7], 0x147
00003654 A9BB syscall GetIcon
00003656 285F movea.l A4, [A7]+
00003658 200C move.l D0, A4
0000365A 6700 009E beq +0xA0 /* 000036FA */
0000365E 204C movea.l A0, A4
00003660 A029 syscall HLock
00003662 486E FFF8 pea.l [A6 - 0x8]
00003666 42A7 clr.l -[A7]
00003668 2F3C 0020 0020 move.l -[A7], 0x200020 /* ' \0 ' */
0000366E A8A7 syscall SetRect
00003670 2D6E FFF8 FFF0 move.l [A6 - 0x10], [A6 - 0x8]
00003676 2D6E FFFC FFF4 move.l [A6 - 0xC], [A6 - 0x4]
0000367C 486E FFF8 pea.l [A6 - 0x8]
00003680 2F3C 006E 0020 move.l -[A7], 0x6E0020 /* 'n\0 ' */
00003686 A8A8 syscall OffsetRect
00003688 486E FFF0 pea.l [A6 - 0x10]
0000368C 206E 0008 movea.l A0, [A6 + 0x8]
00003690 70C0 moveq.l D0, 0xFFFFFFC0
00003692 D068 0016 add.w D0, [A0 + 0x16]
00003696 3F00 move.w -[A7], D0
00003698 3F3C 006E move.w -[A7], 0x6E /* 'n' */
0000369C A8A8 syscall OffsetRect
0000369E 7E00 moveq.l D7, 0x00
000036A0 6044 bra +0x46 /* 000036E6 */
label000036A2:
000036A2 204D movea.l A0, A5
000036A4 2006 move.l D0, D6
000036A6 48C0 ext.l D0
000036A8 E588 lsl D0, 2
000036AA D1C0 add.l A0, D0
000036AC 2F28 F6F0 move.l -[A7], [A0 - 0x910]
000036B0 A862 syscall ForeColor
000036B2 486E FFF8 pea.l [A6 - 0x8]
000036B6 2F0C move.l -[A7], A4
000036B8 A94B syscall PlotIcon
000036BA 486E FFF8 pea.l [A6 - 0x8]
000036BE 2F3C 000A 0010 move.l -[A7], 0xA0010
000036C4 A8A8 syscall OffsetRect
000036C6 486E FFF0 pea.l [A6 - 0x10]
000036CA 2F0C move.l -[A7], A4
000036CC A94B syscall PlotIcon
000036CE 486E FFF0 pea.l [A6 - 0x10]
000036D2 2F3C 000A FFF0 move.l -[A7], 0xAFFF0
000036D8 A8A8 syscall OffsetRect
000036DA 5246 addq.w D6, 1
000036DC 0C46 0006 cmpi.w D6, 0x6
000036E0 6602 bne +0x4 /* 000036E4 */
000036E2 7C00 moveq.l D6, 0x00
label000036E4:
000036E4 5247 addq.w D7, 1
label000036E6:
000036E6 0C47 000B cmpi.w D7, 0xB
000036EA 6DB6 blt -0x48 /* 000036A2 */
000036EC 4878 0021 push.l 0x21 /* '!' */
000036F0 A862 syscall ForeColor
000036F2 204C movea.l A0, A4
000036F4 A02A syscall HUnlock
000036F6 2F0C move.l -[A7], A4
000036F8 A9A3 syscall ReleaseResource
label000036FA:
000036FA 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000036FE 4E5E unlink A6
00003700 4E75 rts
fn00003702:
00003702 4E56 0000 link A6, 0
00003706 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000370A 286E 0008 movea.l A4, [A6 + 0x8]
0000370E 3E2C 0006 move.w D7, [A4 + 0x6]
00003712 9E6C 0002 sub.w D7, [A4 + 0x2]
00003716 3C2C 0004 move.w D6, [A4 + 0x4]
0000371A 9C54 sub.w D6, [A4]
0000371C 3A2D F966 move.w D5, [A5 - 0x69A]
00003720 9A6D F962 sub.w D5, [A5 - 0x69E]
00003724 382D F964 move.w D4, [A5 - 0x69C]
00003728 986D F960 sub.w D4, [A5 - 0x6A0]
0000372C 0644 FFEC addi.w D4, 0xFFEC
00003730 3004 move.w D0, D4
00003732 9046 sub.w D0, D6
00003734 48C0 ext.l D0
00003736 81FC 0002 divs.w D0, 0x2
0000373A 0640 0014 addi.w D0, 0x14
0000373E 3880 move.w [A4], D0
00003740 3014 move.w D0, [A4]
00003742 D046 add.w D0, D6
00003744 3940 0004 move.w [A4 + 0x4], D0
00003748 3005 move.w D0, D5
0000374A 9047 sub.w D0, D7
0000374C 48C0 ext.l D0
0000374E 81FC 0002 divs.w D0, 0x2
00003752 3940 0002 move.w [A4 + 0x2], D0
00003756 302C 0002 move.w D0, [A4 + 0x2]
0000375A D047 add.w D0, D7
0000375C 3940 0006 move.w [A4 + 0x6], D0
00003760 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00003764 4E5E unlink A6
00003766 4E75 rts
fn00003768:
00003768 4E56 FEF0 link A6, -0x0110
0000376C 48E7 0308 movem.l -[A7], D6,D7,A4
00003770 42A7 clr.l -[A7]
00003772 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00003778 486D F758 pea.l [A5 - 0x8A8]
0000377C A9A1 syscall GetNamedResource
0000377E 285F movea.l A4, [A7]+
00003780 200C move.l D0, A4
00003782 6746 beq +0x48 /* 000037CA */
00003784 204C movea.l A0, A4
00003786 A029 syscall HLock
00003788 2F0C move.l -[A7], A4
0000378A 486E FFFE pea.l [A6 - 0x2]
0000378E 486E FFF8 pea.l [A6 - 0x8]
00003792 486E FEF0 pea.l [A6 - 0x110]
00003796 A9A8 syscall GetResInfo
00003798 2054 movea.l A0, [A4]
0000379A 3C10 move.w D6, [A0]
0000379C 7E00 moveq.l D7, 0x00
0000379E 6022 bra +0x24 /* 000037C2 */
label000037A0:
000037A0 486E FEF0 pea.l [A6 - 0x110]
000037A4 3F2E FFFE move.w -[A7], [A6 - 0x2]
000037A8 7001 moveq.l D0, 0x01
000037AA D047 add.w D0, D7
000037AC 3F00 move.w -[A7], D0
000037AE 4EBA 09DA jsr [PC + 0x9DA /* 0000418A */]
000037B2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000037B6 486E FEF0 pea.l [A6 - 0x110]
000037BA A933 syscall AppendMenu
000037BC 526D F6E2 addq.w [A5 - 0x91E], 1
000037C0 5247 addq.w D7, 1
label000037C2:
000037C2 BC47 cmp.w D6, D7
000037C4 6EDA bgt -0x24 /* 000037A0 */
000037C6 204C movea.l A0, A4
000037C8 A02A syscall HUnlock
label000037CA:
000037CA 0C6D 0002 F6E2 cmpi.w [A5 - 0x91E], 0x2
000037D0 6602 bne +0x4 /* 000037D4 */
000037D2 A9F4 syscall ExitToShell
label000037D4:
000037D4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000037D8 4E5E unlink A6
000037DA 4E75 rts
export_13:
000037DC 4E56 0000 link A6, 0
000037E0 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000037E4 266E 000C movea.l A3, [A6 + 0xC]
000037E8 286E 0010 movea.l A4, [A6 + 0x10]
000037EC 7E00 moveq.l D7, 0x00
000037EE 206E 0008 movea.l A0, [A6 + 0x8]
000037F2 30BC 0064 move.w [A0], 0x64 /* 'd' */
000037F6 2F0C move.l -[A7], A4
000037F8 A873 syscall SetPort
000037FA 3013 move.w D0, [A3]
000037FC 0C40 0006 cmpi.w D0, 0x6
00003800 624C bhi +0x4E /* 0000384E */
00003802 43FA 005C lea.l A1, [PC + 0x5C /* 00003860, value 0xFFEEFFD0 */]
00003806 D040 add.w D0, D0
00003808 D2F1 0000 add.w A1, [A1 + D0.w]
0000380C 4ED1 jmp [A1]
0000380E 7CFF moveq.l D6, 0xFFFFFFFF
00003810 CC2B 0005 and.b D6, [A3 + 0x5]
00003814 0C06 000D cmpi.b D6, 0xD /* '\r' */
00003818 6706 beq +0x8 /* 00003820 */
0000381A 0C06 0003 cmpi.b D6, 0x3
0000381E 662E bne +0x30 /* 0000384E */
label00003820:
00003820 206E 0008 movea.l A0, [A6 + 0x8]
00003824 30BC 0001 move.w [A0], 0x1
00003828 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
0000382E 6022 bra +0x24 /* 00003852 */
00003830 422E 0014 clr.b [A6 + 0x14]
00003834 601C bra +0x1E /* 00003852 */
00003836 B9EB 0002 cmpa.l A4, [A3 + 0x2]
0000383A 6612 bne +0x14 /* 0000384E */
0000383C 2F2B 0002 move.l -[A7], [A3 + 0x2]
00003840 A922 syscall BeginUpdate
00003842 2F0C move.l -[A7], A4
00003844 4EBA 00A8 jsr [PC + 0xA8 /* 000038EE */]
00003848 2EAB 0002 move.l [A7], [A3 + 0x2]
0000384C A923 syscall EndUpdate
label0000384E:
0000384E 1D47 0014 move.b [A6 + 0x14], D7
label00003852:
00003852 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00003856 4E5E unlink A6
00003858 205F movea.l A0, [A7]+
0000385A 4FEF 000C lea.l A7, [A7 + 0xC]
0000385E 4ED0 jmp [A0]
00003860 FFEE .invalid <<F/7/7>>
00003862 FFD0 .invalid <<F/7/7>>
00003864 FFEE .invalid <<F/7/7>>
00003866 FFAE .invalid <<F/6/7>>
00003868 FFEE .invalid <<F/7/7>>
0000386A FFAE .invalid <<F/6/7>>
0000386C FFD6 .invalid <<F/7/7>>
fn0000386E:
0000386E 4E56 FFE8 link A6, -0x0018
00003872 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00003876 3E3C 07D1 move.w D7, 0x7D1
0000387A 486D F968 pea.l [A5 - 0x698]
0000387E A851 syscall SetCursor
00003880 486E FFE8 pea.l [A6 - 0x18]
00003884 A874 syscall GetPort
00003886 A852 syscall HideCursor
00003888 42A7 clr.l -[A7]
0000388A 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00003890 3F07 move.w -[A7], D7
00003892 A9A0 syscall GetResource
00003894 285F movea.l A4, [A7]+
00003896 2F0C move.l -[A7], A4
00003898 A9A2 syscall LoadResource
0000389A 204C movea.l A0, A4
0000389C A04A syscall HNoPurge
0000389E 264C movea.l A3, A4
000038A0 2C13 move.l D6, [A3]
000038A2 2F06 move.l -[A7], D6
000038A4 4EBA FE5C jsr [PC - 0x1A4 /* 00003702 */]
000038A8 4297 clr.l [A7]
000038AA 3F07 move.w -[A7], D7
000038AC 42A7 clr.l -[A7]
000038AE 4878 FFFF push.l 0xFFFF
000038B2 A97C syscall GetNewDialog
000038B4 245F movea.l A2, [A7]+
000038B6 2F0A move.l -[A7], A2
000038B8 A91F syscall SelectWindow
000038BA 2F0A move.l -[A7], A2
000038BC A873 syscall SetPort
000038BE A853 syscall ShowCursor
000038C0 426E FFF8 clr.w [A6 - 0x8]
000038C4 600A bra +0xC /* 000038D0 */
label000038C6:
000038C6 486D 008A pea.l [A5 + 0x8A /* export_13 */]
000038CA 486E FFF8 pea.l [A6 - 0x8]
000038CE A991 syscall ModalDialog
label000038D0:
000038D0 0C6E 0001 FFF8 cmpi.w [A6 - 0x8], 0x1
000038D6 66EE bne -0x10 /* 000038C6 */
000038D8 2F0C move.l -[A7], A4
000038DA A9A3 syscall ReleaseResource
000038DC 2F0A move.l -[A7], A2
000038DE A983 syscall DisposeDialog
000038E0 2F2E FFE8 move.l -[A7], [A6 - 0x18]
000038E4 A873 syscall SetPort
000038E6 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
000038EA 4E5E unlink A6
000038EC 4E75 rts
fn000038EE:
000038EE 4E56 FFF2 link A6, -0x000E
000038F2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000038F6 286E 0008 movea.l A4, [A6 + 0x8]
000038FA 47ED F764 lea.l A3, [A5 - 0x89C]
000038FE 2F0C move.l -[A7], A4
00003900 A969 syscall DrawControls
00003902 2F0C move.l -[A7], A4
00003904 3F3C 0001 move.w -[A7], 0x1
00003908 486E FFFE pea.l [A6 - 0x2]
0000390C 486E FFFA pea.l [A6 - 0x6]
00003910 486E FFF2 pea.l [A6 - 0xE]
00003914 A98D syscall GetDialogItem/GetDItem
00003916 486E FFF2 pea.l [A6 - 0xE]
0000391A 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00003920 A8A9 syscall InsetRect
00003922 2F3C 0003 0003 move.l -[A7], 0x30003
00003928 A89B syscall PenSize
0000392A 486E FFF2 pea.l [A6 - 0xE]
0000392E 2F3C 0010 0010 move.l -[A7], 0x100010
00003934 A8B0 syscall FrameRoundRect
00003936 A89E syscall PenNormal
00003938 4267 clr.w -[A7]
0000393A A888 syscall TextFace
0000393C 4267 clr.w -[A7]
0000393E A887 syscall TextFont
00003940 3F3C 000C move.w -[A7], 0xC
00003944 A88A syscall TextSize
00003946 3F3C 0001 move.w -[A7], 0x1
0000394A A889 syscall TextMode
0000394C A89E syscall PenNormal
0000394E 3C2C 0016 move.w D6, [A4 + 0x16]
00003952 9C6C 0012 sub.w D6, [A4 + 0x12]
00003956 7E00 moveq.l D7, 0x00
00003958 603C bra +0x3E /* 00003996 */
label0000395A:
0000395A 4267 clr.w -[A7]
0000395C 204D movea.l A0, A5
0000395E 2007 move.l D0, D7
00003960 48C0 ext.l D0
00003962 E588 lsl D0, 2
00003964 D1C0 add.l A0, D0
00003966 2F28 F708 move.l -[A7], [A0 - 0x8F8]
0000396A A88C syscall StringWidth
0000396C 3006 move.w D0, D6
0000396E 905F sub.w D0, [A7]+
00003970 48C0 ext.l D0
00003972 81FC 0002 divs.w D0, 0x2
00003976 3F00 move.w -[A7], D0
00003978 700F moveq.l D0, 0x0F
0000397A C1C7 muls.w D0, D7
0000397C 0640 0019 addi.w D0, 0x19
00003980 3F00 move.w -[A7], D0
00003982 A893 syscall MoveTo
00003984 204D movea.l A0, A5
00003986 2007 move.l D0, D7
00003988 48C0 ext.l D0
0000398A E588 lsl D0, 2
0000398C D1C0 add.l A0, D0
0000398E 2F28 F708 move.l -[A7], [A0 - 0x8F8]
00003992 A884 syscall DrawString
00003994 5247 addq.w D7, 1
label00003996:
00003996 0C47 0004 cmpi.w D7, 0x4
0000399A 6DBE blt -0x40 /* 0000395A */
0000399C 4878 0199 push.l 0x199
000039A0 A862 syscall ForeColor
000039A2 7E00 moveq.l D7, 0x00
000039A4 603C bra +0x3E /* 000039E2 */
label000039A6:
000039A6 4267 clr.w -[A7]
000039A8 204D movea.l A0, A5
000039AA 2007 move.l D0, D7
000039AC 48C0 ext.l D0
000039AE E588 lsl D0, 2
000039B0 D1C0 add.l A0, D0
000039B2 2F28 F718 move.l -[A7], [A0 - 0x8E8]
000039B6 A88C syscall StringWidth
000039B8 3006 move.w D0, D6
000039BA 905F sub.w D0, [A7]+
000039BC 48C0 ext.l D0
000039BE 81FC 0002 divs.w D0, 0x2
000039C2 3F00 move.w -[A7], D0
000039C4 700F moveq.l D0, 0x0F
000039C6 C1C7 muls.w D0, D7
000039C8 0640 0064 addi.w D0, 0x64 /* 'd' */
000039CC 3F00 move.w -[A7], D0
000039CE A893 syscall MoveTo
000039D0 204D movea.l A0, A5
000039D2 2007 move.l D0, D7
000039D4 48C0 ext.l D0
000039D6 E588 lsl D0, 2
000039D8 D1C0 add.l A0, D0
000039DA 2F28 F718 move.l -[A7], [A0 - 0x8E8]
000039DE A884 syscall DrawString
000039E0 5247 addq.w D7, 1
label000039E2:
000039E2 0C47 0005 cmpi.w D7, 0x5
000039E6 6DBE blt -0x40 /* 000039A6 */
000039E8 4878 0021 push.l 0x21 /* '!' */
000039EC A862 syscall ForeColor
000039EE 2F3C 0001 0001 move.l -[A7], 0x10001
000039F4 4878 0003 push.l 0x3
000039F8 2F3C 0014 00D7 move.l -[A7], 0x1400D7
000039FE 3F3C 0101 move.w -[A7], 0x101
00003A02 4EBA F2EA jsr [PC - 0xD16 /* 00002CEE */]
00003A06 2EBC 0001 0001 move.l [A7], 0x10001
00003A0C 4878 0003 push.l 0x3
00003A10 2F3C 0140 00D7 move.l -[A7], 0x14000D7
00003A16 3F3C 0100 move.w -[A7], 0x100
00003A1A 4EBA F2D2 jsr [PC - 0xD2E /* 00002CEE */]
00003A1E 3EBC 0004 move.w [A7], 0x4
00003A22 A887 syscall TextFont
00003A24 3EBC 0009 move.w [A7], 0x9 /* '\t' */
00003A28 A88A syscall TextSize
00003A2A 4257 clr.w [A7]
00003A2C A888 syscall TextFace
00003A2E 4257 clr.w [A7]
00003A30 2F0B move.l -[A7], A3
00003A32 A88C syscall StringWidth
00003A34 3006 move.w D0, D6
00003A36 905F sub.w D0, [A7]+
00003A38 48C0 ext.l D0
00003A3A 81FC 0002 divs.w D0, 0x2
00003A3E 3E80 move.w [A7], D0
00003A40 70FD moveq.l D0, 0xFFFFFFFD
00003A42 D06C 0014 add.w D0, [A4 + 0x14]
00003A46 3F00 move.w -[A7], D0
00003A48 A893 syscall MoveTo
00003A4A 2E8B move.l [A7], A3
00003A4C A884 syscall DrawString
00003A4E 2E8C move.l [A7], A4
00003A50 4EBA FBF2 jsr [PC - 0x40E /* 00003644 */]
00003A54 4CEE 18C0 FFE2 movem.l D6,D7,A3,A4, [A6 - 0x1E]
00003A5A 4E5E unlink A6
00003A5C 4E75 rts
fn00003A5E:
00003A5E 426D E796 clr.w [A5 - 0x186A]
00003A62 3B7C 0007 E798 move.w [A5 - 0x1868], 0x7
00003A68 426D E79A clr.w [A5 - 0x1866]
00003A6C 3B7C 0001 E79C move.w [A5 - 0x1864], 0x1
00003A72 426D E79E clr.w [A5 - 0x1862]
00003A76 3B7C 0002 E7A0 move.w [A5 - 0x1860], 0x2
00003A7C 426D E7A2 clr.w [A5 - 0x185E]
00003A80 3B7C 0001 E7A4 move.w [A5 - 0x185C], 0x1
00003A86 3B7C 0001 E7A6 move.w [A5 - 0x185A], 0x1
00003A8C 3B7C 0008 E7A8 move.w [A5 - 0x1858], 0x8
00003A92 4EBA F786 jsr [PC - 0x87A /* 0000321A */]
00003A96 4EBA F7BA jsr [PC - 0x846 /* 00003252 */]
00003A9A 4E75 rts
fn00003A9C:
00003A9C 4E56 FFF6 link A6, -0x000A
00003AA0 2F07 move.l -[A7], D7
00003AA2 4267 clr.w -[A7]
00003AA4 3F2D E84A move.w -[A7], [A5 - 0x17B6]
00003AA8 2F2D E84C move.l -[A7], [A5 - 0x17B4]
00003AAC 2F2D F6EC move.l -[A7], [A5 - 0x914]
00003AB0 2F2D F6E4 move.l -[A7], [A5 - 0x91C]
00003AB4 2F2D F6E8 move.l -[A7], [A5 - 0x918]
00003AB8 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00003ABC 4257 clr.w [A7]
00003ABE 3F2D E84A move.w -[A7], [A5 - 0x17B6]
00003AC2 2F2D E84C move.l -[A7], [A5 - 0x17B4]
00003AC6 2F2D F6EC move.l -[A7], [A5 - 0x914]
00003ACA 1F3C 0002 move.b -[A7], 0x2
00003ACE 486E FFFC pea.l [A6 - 0x4]
00003AD2 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00003AD6 3E1F move.w D7, [A7]+
00003AD8 6704 beq +0x6 /* 00003ADE */
00003ADA 7000 moveq.l D0, 0x00
00003ADC 6062 bra +0x64 /* 00003B40 */
label00003ADE:
00003ADE 4267 clr.w -[A7]
00003AE0 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003AE4 42A7 clr.l -[A7]
00003AE6 4EBA 05FE jsr [PC + 0x5FE /* 000040E6 */]
00003AEA 3E1F move.w D7, [A7]+
00003AEC 670E beq +0x10 /* 00003AFC */
00003AEE 4267 clr.w -[A7]
00003AF0 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003AF4 4EBA 054C jsr [PC + 0x54C /* 00004042 */]
00003AF8 7000 moveq.l D0, 0x00
00003AFA 6044 bra +0x46 /* 00003B40 */
label00003AFC:
00003AFC 7014 moveq.l D0, 0x14
00003AFE 2D40 FFF6 move.l [A6 - 0xA], D0
00003B02 4267 clr.w -[A7]
00003B04 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003B08 486E FFF6 pea.l [A6 - 0xA]
00003B0C 486D E796 pea.l [A5 - 0x186A]
00003B10 4EBA 054E jsr [PC + 0x54E /* 00004060 */]
00003B14 3E1F move.w D7, [A7]+
00003B16 670E beq +0x10 /* 00003B26 */
00003B18 4267 clr.w -[A7]
00003B1A 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003B1E 4EBA 0522 jsr [PC + 0x522 /* 00004042 */]
00003B22 7000 moveq.l D0, 0x00
00003B24 601A bra +0x1C /* 00003B40 */
label00003B26:
00003B26 4267 clr.w -[A7]
00003B28 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003B2C 4EBA 0514 jsr [PC + 0x514 /* 00004042 */]
00003B30 4257 clr.w [A7]
00003B32 486D F7B0 pea.l [A5 - 0x850]
00003B36 3F2D E84A move.w -[A7], [A5 - 0x17B6]
00003B3A 4EBA 058A jsr [PC + 0x58A /* 000040C6 */]
00003B3E 7001 moveq.l D0, 0x01
label00003B40:
00003B40 2E2E FFF2 move.l D7, [A6 - 0xE]
00003B44 4E5E unlink A6
00003B46 4E75 rts
fn00003B48:
00003B48 4E56 FFF6 link A6, -0x000A
00003B4C 2F07 move.l -[A7], D7
00003B4E 4EBA FF0E jsr [PC - 0xF2 /* 00003A5E */]
00003B52 4267 clr.w -[A7]
00003B54 3F2D E84A move.w -[A7], [A5 - 0x17B6]
00003B58 2F2D E84C move.l -[A7], [A5 - 0x17B4]
00003B5C 2F2D F6EC move.l -[A7], [A5 - 0x914]
00003B60 1F3C 0001 move.b -[A7], 0x1
00003B64 486E FFFC pea.l [A6 - 0x4]
00003B68 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00003B6C 3E1F move.w D7, [A7]+
00003B6E 6704 beq +0x6 /* 00003B74 */
00003B70 7000 moveq.l D0, 0x00
00003B72 6042 bra +0x44 /* 00003BB6 */
label00003B74:
00003B74 7014 moveq.l D0, 0x14
00003B76 2D40 FFF6 move.l [A6 - 0xA], D0
00003B7A 4267 clr.w -[A7]
00003B7C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003B80 486E FFF6 pea.l [A6 - 0xA]
00003B84 486D E796 pea.l [A5 - 0x186A]
00003B88 4EBA 04D2 jsr [PC + 0x4D2 /* 0000405C */]
00003B8C 3E1F move.w D7, [A7]+
00003B8E 6712 beq +0x14 /* 00003BA2 */
00003B90 4267 clr.w -[A7]
00003B92 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003B96 4EBA 04AA jsr [PC + 0x4AA /* 00004042 */]
00003B9A 4EBA FEC2 jsr [PC - 0x13E /* 00003A5E */]
00003B9E 7000 moveq.l D0, 0x00
00003BA0 6014 bra +0x16 /* 00003BB6 */
label00003BA2:
00003BA2 4267 clr.w -[A7]
00003BA4 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003BA8 4EBA 0498 jsr [PC + 0x498 /* 00004042 */]
00003BAC 4EBA F66C jsr [PC - 0x994 /* 0000321A */]
00003BB0 4EBA F6A0 jsr [PC - 0x960 /* 00003252 */]
00003BB4 7001 moveq.l D0, 0x01
label00003BB6:
00003BB6 2E2E FFF2 move.l D7, [A6 - 0xE]
00003BBA 4E5E unlink A6
00003BBC 4E75 rts
fn00003BBE:
00003BBE 4E56 FE00 link A6, -0x0200
00003BC2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003BC6 486E FE00 pea.l [A6 - 0x200]
00003BCA 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00003BCE 486E FE00 pea.l [A6 - 0x200]
00003BD2 4EBA 005A jsr [PC + 0x5A /* 00003C2E */]
00003BD6 2E80 move.l [A7], D0
00003BD8 486E FF00 pea.l [A6 - 0x100]
00003BDC 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00003BE0 486E FF00 pea.l [A6 - 0x100]
00003BE4 486D F7B2 pea.l [A5 - 0x84E]
00003BE8 486D F7B4 pea.l [A5 - 0x84C]
00003BEC 486D F7B6 pea.l [A5 - 0x84A]
00003BF0 A98B syscall ParamText
00003BF2 4257 clr.w [A7]
00003BF4 3F3C 071F move.w -[A7], 0x71F
00003BF8 42A7 clr.l -[A7]
00003BFA A987 syscall NoteAlert
00003BFC 4E5E unlink A6
00003BFE 4E75 rts
fn00003C00:
00003C00 4E56 0000 link A6, 0
00003C04 2F07 move.l -[A7], D7
00003C06 3E2E 0008 move.w D7, [A6 + 0x8]
00003C0A 0C47 001C cmpi.w D7, 0x1C
00003C0E 6712 beq +0x14 /* 00003C22 */
00003C10 0C47 001D cmpi.w D7, 0x1D
00003C14 670C beq +0xE /* 00003C22 */
00003C16 0C47 001E cmpi.w D7, 0x1E
00003C1A 6706 beq +0x8 /* 00003C22 */
00003C1C 0C47 001F cmpi.w D7, 0x1F
00003C20 6604 bne +0x6 /* 00003C26 */
label00003C22:
00003C22 7001 moveq.l D0, 0x01
00003C24 6002 bra +0x4 /* 00003C28 */
label00003C26:
00003C26 7000 moveq.l D0, 0x00
label00003C28:
00003C28 2E1F move.l D7, [A7]+
00003C2A 4E5E unlink A6
00003C2C 4E75 rts
fn00003C2E:
00003C2E 206F 0004 movea.l A0, [A7 + 0x4]
00003C32 43E8 0001 lea.l A1, [A0 + 0x1]
00003C36 7000 moveq.l D0, 0x00
label00003C38:
00003C38 1210 move.b D1, [A0]
00003C3A 10C0 move.b [A0]+, D0
00003C3C 1001 move.b D0, D1
00003C3E 66F8 bne -0x6 /* 00003C38 */
00003C40 91C9 sub.l A0, A1
00003C42 2008 move.l D0, A0
00003C44 1300 move.b -[A1], D0
00003C46 2009 move.l D0, A1
00003C48 4E75 rts
fn00003C4A:
00003C4A 206F 0004 movea.l A0, [A7 + 0x4]
00003C4E 7000 moveq.l D0, 0x00
00003C50 1010 move.b D0, [A0]
00003C52 6004 bra +0x6 /* 00003C58 */
label00003C54:
00003C54 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00003C58:
00003C58 51C8 FFFA dbf D0, -0x8 /* 00003C54 */
00003C5C 4210 clr.b [A0]
00003C5E 202F 0004 move.l D0, [A7 + 0x4]
00003C62 4E75 rts
fn00003C64:
00003C64 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003C68 6B22 bmi +0x24 /* 00003C8C */
00003C6A 303C 0090 move.w D0, 0x90
00003C6E A346 syscall GetOSTrapAddress, flags=3
00003C70 2248 movea.l A1, A0
00003C72 303C 009F move.w D0, 0x9F
00003C76 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003C78 B3C8 cmpa.l A1, A0
00003C7A 6710 beq +0x12 /* 00003C8C */
00003C7C 225F movea.l A1, [A7]+
00003C7E 205F movea.l A0, [A7]+
00003C80 301F move.w D0, [A7]+
00003C82 2F09 move.l -[A7], A1
00003C84 A090 syscall SysEnvirons
00003C86 3F40 0004 move.w [A7 + 0x4], D0
00003C8A 4E75 rts
label00003C8C:
00003C8C 206F 0004 movea.l A0, [A7 + 0x4]
00003C90 303C 0001 move.w D0, 0x1
00003C94 2248 movea.l A1, A0
00003C96 6006 bra +0x8 /* 00003C9E */
00003C98 0313 btst [A3], D1
00003C9A 0B02 btst D2, D5
00003C9C 0100 btst D0, D0
label00003C9E:
00003C9E 303C 0010 move.w D0, 0x10
00003CA2 E240 asr D0.w, 1
00003CA4 5340 subq.w D0, 1
label00003CA6:
00003CA6 4258 clr.w [A0]+
00003CA8 51C8 FFFC dbf D0, -0x6 /* 00003CA6 */
00003CAC 32BC 0001 move.w [A1], 0x1
00003CB0 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00003CB4 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00003CBA 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00003CC0 6742 beq +0x44 /* 00003D04 */
00003CC2 4A28 0008 tst.b [A0 + 0x8]
00003CC6 6E20 bgt +0x22 /* 00003CE8 */
00003CC8 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00003CCE 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003CD2 6B30 bmi +0x32 /* 00003D04 */
00003CD4 337C 0001 0002 move.w [A1 + 0x2], 0x1
00003CDA 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00003CDE 6A24 bpl +0x26 /* 00003D04 */
00003CE0 337C 0002 0002 move.w [A1 + 0x2], 0x2
00003CE6 601C bra +0x1E /* 00003D04 */
label00003CE8:
00003CE8 4269 0002 clr.w [A1 + 0x2]
00003CEC 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00003CF2 6E10 bgt +0x12 /* 00003D04 */
00003CF4 6708 beq +0xA /* 00003CFE */
00003CF6 337C 0004 0002 move.w [A1 + 0x2], 0x4
00003CFC 6006 bra +0x8 /* 00003D04 */
label00003CFE:
00003CFE 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00003D04:
00003D04 4269 0004 clr.w [A1 + 0x4]
00003D08 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00003D0E 6E0A bgt +0xC /* 00003D1A */
00003D10 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00003D14 5240 addq.w D0, 1
00003D16 1340 0007 move.b [A1 + 0x7], D0
label00003D1A:
00003D1A 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003D1E 6B0E bmi +0x10 /* 00003D2E */
00003D20 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00003D26 6706 beq +0x8 /* 00003D2E */
00003D28 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00003D2E:
00003D2E 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00003D34 6206 bhi +0x8 /* 00003D3C */
00003D36 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00003D3C:
00003D3C 1038 021E move.b D0, [0x0000021E /* KbdType */]
00003D40 41FA FF5B lea.l A0, [PC - 0xA5 /* 00003C9D, value 0x303C00 '0<\0', cstring "" */]
00003D44 323C 0004 move.w D1, 0x4
label00003D48:
00003D48 B020 cmp.b D0, -[A0]
00003D4A 57C9 FFFC dbeq D1, -0x6 /* 00003D48 */
00003D4E 5241 addq.w D1, 1
00003D50 3341 000A move.w [A1 + 0xA], D1
00003D54 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00003D58 6B18 bmi +0x1A /* 00003D72 */
00003D5A 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00003D5E 0201 000F andi.b D1, 0xF
00003D62 0C01 0001 cmpi.b D1, 0x1
00003D66 660A bne +0xC /* 00003D72 */
00003D68 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00003D6C 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00003D72:
00003D72 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00003D78 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00003D7C 6D44 blt +0x46 /* 00003DC2 */
00003D7E 4269 000E clr.w [A1 + 0xE]
00003D82 323C 003C move.w D1, 0x3C /* '<' */
label00003D86:
00003D86 4267 clr.w -[A7]
00003D88 51C9 FFFC dbf D1, -0x6 /* 00003D86 */
00003D8C 204F movea.l A0, A7
00003D8E 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00003D94 7008 moveq.l D0, 0x08
00003D96 A260 syscall FSDispatch/HFSDispatch, flags=2
00003D98 6624 bne +0x26 /* 00003DBE */
00003D9A 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00003DA0 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00003DA2 661A bne +0x1C /* 00003DBE */
00003DA4 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00003DAA 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00003DB2 7001 moveq.l D0, 0x01
00003DB4 A260 syscall FSDispatch/HFSDispatch, flags=2
00003DB6 6606 bne +0x8 /* 00003DBE */
00003DB8 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00003DBE:
00003DBE 4FEF 007A lea.l A7, [A7 + 0x7A]
label00003DC2:
00003DC2 2049 movea.l A0, A1
00003DC4 225F movea.l A1, [A7]+
00003DC6 5C4F addq.w A7, 6
00003DC8 3EBC EA84 move.w [A7], 0xEA84
00003DCC 4ED1 jmp [A1]
export_14:
fn00003DCE:
00003DCE 4E56 0000 link A6, 0
00003DD2 203C 0000 A89F move.l D0, 0xA89F
00003DD8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003DDA 2F08 move.l -[A7], A0
00003DDC 203C 0000 A0AD move.l D0, 0xA0AD
00003DE2 A346 syscall GetOSTrapAddress, flags=3
00003DE4 B1DF cmpa.l A0, [A7]+
00003DE6 670E beq +0x10 /* 00003DF6 */
00003DE8 202E 000C move.l D0, [A6 + 0xC]
00003DEC A1AD syscall Gestalt, flags=1
00003DEE 226E 0008 movea.l A1, [A6 + 0x8]
00003DF2 2288 move.l [A1], A0
00003DF4 6026 bra +0x28 /* 00003E1C */
label00003DF6:
00003DF6 41FA 0036 lea.l A0, [PC + 0x36 /* 00003E2E, value 0x76657273 'vers', cstring "vers" */]
00003DFA 303C EA51 move.w D0, 0xEA51
00003DFE 222E 000C move.l D1, [A6 + 0xC]
label00003E02:
00003E02 B298 cmp.l D1, [A0]+
00003E04 6706 beq +0x8 /* 00003E0C */
00003E06 4A98 tst.l [A0]+
00003E08 6712 beq +0x14 /* 00003E1C */
00003E0A 60F6 bra -0x8 /* 00003E02 */
label00003E0C:
00003E0C 43FA 0020 lea.l A1, [PC + 0x20 /* 00003E2E, value 0x76657273 'vers', cstring "vers" */]
00003E10 D3D0 add.l A1, [A0]
00003E12 4ED1 jmp [A1]
label00003E14:
00003E14 226E 0008 movea.l A1, [A6 + 0x8]
00003E18 2280 move.l [A1], D0
00003E1A 4240 clr.w D0
label00003E1C:
00003E1C 3D40 0010 move.w [A6 + 0x10], D0
00003E20 4E5E unlink A6
00003E22 205F movea.l A0, [A7]+
00003E24 508F addq.l A7, 8
00003E26 4ED0 jmp [A0]
label00003E28:
00003E28 303C EA52 move.w D0, 0xEA52
00003E2C 60EE bra -0x10 /* 00003E1C */
00003E2E 7665 moveq.l D3, 0x65
00003E30 7273 moveq.l D1, 0x73
00003E32 0000 0060 ori.b D0, 0x60 /* '`' */
00003E36 6D61 blt +0x63 /* 00003E99 */
00003E38 6368 bls +0x6A /* 00003EA2 */
00003E3A 0000 0064 ori.b D0, 0x64 /* 'd' */
00003E3E 7379 moveq.l D1, 0x79
00003E40 7376 moveq.l D1, 0x76
00003E42 0000 0088 ori.b D0, 0x88
00003E46 7072 moveq.l D0, 0x72
00003E48 6F63 ble +0x65 /* 00003EAD */
00003E4A 0000 0092 ori.b D0, 0x92
00003E4E 6670 bne +0x72 /* 00003EC0 */
00003E50 7520 moveq.l D2, 0x20
00003E52 0000 009E ori.b D0, 0x9E
00003E56 7164 moveq.l D0, 0x64
00003E58 2020 move.l D0, -[A0]
00003E5A 0000 00E8 ori.b D0, 0xE8
00003E5E 6B62 bmi +0x64 /* 00003EC2 */
00003E60 6420 bcc +0x22 /* 00003E82 */
00003E62 0000 011A ori.b D0, 0x1A
00003E66 6174 bsr +0x76 /* 00003EDC */
00003E68 6C6B bge +0x6D /* 00003ED5 */
00003E6A 0000 0142 ori.b D0, 0x42 /* 'B' */
00003E6E 6D6D blt +0x6F /* 00003EDD */
00003E70 7520 moveq.l D2, 0x20
00003E72 0000 0164 ori.b D0, 0x64 /* 'd' */
00003E76 7261 moveq.l D1, 0x61
00003E78 6D20 blt +0x22 /* 00003E9A */
00003E7A 0000 0188 ori.b D0, 0x88
00003E7E 6C72 bge +0x74 /* 00003EF2 */
00003E80 616D bsr +0x6F /* 00003EEF */
label00003E82:
00003E82 0000 0188 ori.b D0, 0x88
00003E86 0000 0000 ori.b D0, 0x0
00003E8A 0000 0000 ori.b D0, 0x0
00003E8E 7001 moveq.l D0, 0x01
00003E90 6082 bra -0x7C /* 00003E14 */
00003E92 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00003E96 7004 moveq.l D0, 0x04
00003E98 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00003E9A-00003EA2
label00003E9A:
00003E9A 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00003E9A-00003EA2
label00003E9A: // (misaligned)
00003E9E 6712 beq +0x14 /* 00003EB2 */
00003EA0 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00003EA2-00003EA8
label00003EA2:
00003EA2 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00003EA2-00003EA8
label00003EA2: // (misaligned)
00003EA6 6604 bne +0x6 /* 00003EAC */
00003EA8 5240 addq.w D0, 1
00003EAA 6006 bra +0x8 /* 00003EB2 */
label00003EAC:
00003EAC 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00003EB0 5C80 addq.l D0, 6
label00003EB2:
00003EB2 6000 FF60 bra -0x9E /* 00003E14 */
00003EB6 7000 moveq.l D0, 0x00
00003EB8 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00003EBC 6000 FF56 bra -0xA8 /* 00003E14 */
label00003EC0:
00003EC0 7000 moveq.l D0, 0x00
label00003EC2:
00003EC2 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00003EC6 5240 addq.w D0, 1
00003EC8 6000 FF4A bra -0xB4 /* 00003E14 */
00003ECC 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00003ED2 6738 beq +0x3A /* 00003F0C */
00003ED4 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00003EDA 6734 beq +0x36 /* 00003F10 */
fn00003EDC:
00003EDC 204F movea.l A0, A7
00003EDE F280 0000 fnop
00003EE2 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00003EE4 3017 move.w D0, [A7]
00003EE6 2E48 movea.l A7, A0
00003EE8 0C40 1F18 cmpi.w D0, 0x1F18
00003EEC 6716 beq +0x18 /* 00003F04 */
00003EEE 0C40 3F18 cmpi.w D0, 0x3F18
label00003EF2:
00003EF2 6710 beq +0x12 /* 00003F04 */
00003EF4 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00003EF8 670E beq +0x10 /* 00003F08 */
00003EFA 0C40 1F38 cmpi.w D0, 0x1F38
00003EFE 6708 beq +0xA /* 00003F08 */
00003F00 7000 moveq.l D0, 0x00
00003F02 600E bra +0x10 /* 00003F12 */
label00003F04:
00003F04 7001 moveq.l D0, 0x01
00003F06 600A bra +0xC /* 00003F12 */
label00003F08:
00003F08 7002 moveq.l D0, 0x02
00003F0A 6006 bra +0x8 /* 00003F12 */
label00003F0C:
00003F0C 7003 moveq.l D0, 0x03
00003F0E 6002 bra +0x4 /* 00003F12 */
label00003F10:
00003F10 7000 moveq.l D0, 0x00
label00003F12:
00003F12 6000 FF00 bra -0xFE /* 00003E14 */
00003F16 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00003F1C 6E1C bgt +0x1E /* 00003F3A */
00003F1E 303C A89F move.w D0, 0xA89F
00003F22 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003F24 2408 move.l D2, A0
00003F26 203C 0000 AB03 move.l D0, 0xAB03
00003F2C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003F2E 203C 0000 0100 move.l D0, 0x100
00003F34 B488 cmp.l D2, A0
00003F36 6606 bne +0x8 /* 00003F3E */
00003F38 600A bra +0xC /* 00003F44 */
label00003F3A:
00003F3A 7000 moveq.l D0, 0x00
00003F3C 6006 bra +0x8 /* 00003F44 */
label00003F3E:
00003F3E 203C 0000 0200 move.l D0, 0x200
label00003F44:
00003F44 6000 FECE bra -0x130 /* 00003E14 */
00003F48 1038 021E move.b D0, [0x0000021E /* KbdType */]
00003F4C 41FA 0016 lea.l A0, [PC + 0x16 /* 00003F64, value 0x3130B02 */]
00003F50 2248 movea.l A1, A0
label00003F52:
00003F52 1218 move.b D1, [A0]+
00003F54 6700 FED2 beq -0x12C /* 00003E28 */
00003F58 B200 cmp.b D1, D0
00003F5A 66F6 bne -0x8 /* 00003F52 */
00003F5C 91C9 sub.l A0, A1
00003F5E 2008 move.l D0, A0
00003F60 6000 FEB2 bra -0x14C /* 00003E14 */
00003F64 0313 btst [A3], D1
00003F66 0B02 btst D2, D5
00003F68 0106 btst D6, D0
00003F6A 0704 btst D4, D3
00003F6C 0508 btst A0, D2
00003F6E 0900 btst D0, D4
00003F70 7000 moveq.l D0, 0x00
00003F72 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00003F76 6B16 bmi +0x18 /* 00003F8E */
00003F78 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00003F7C 0201 000F andi.b D1, 0xF
00003F80 0C01 0001 cmpi.b D1, 0x1
00003F84 6608 bne +0xA /* 00003F8E */
00003F86 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00003F8A 1028 0007 move.b D0, [A0 + 0x7]
label00003F8E:
00003F8E 6000 FE84 bra -0x17A /* 00003E14 */
00003F92 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00003F98 6D16 blt +0x18 /* 00003FB0 */
00003F9A 7000 moveq.l D0, 0x00
00003F9C 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00003FA0 0C00 0001 cmpi.b D0, 0x1
00003FA4 670C beq +0xE /* 00003FB2 */
00003FA6 0C00 0003 cmpi.b D0, 0x3
00003FAA 6D04 blt +0x6 /* 00003FB0 */
00003FAC 5340 subq.w D0, 1
00003FAE 6002 bra +0x4 /* 00003FB2 */
label00003FB0:
00003FB0 7000 moveq.l D0, 0x00
label00003FB2:
00003FB2 6000 FE60 bra -0x19E /* 00003E14 */
00003FB6 303C A89F move.w D0, 0xA89F
00003FBA A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003FBC 2408 move.l D2, A0
00003FBE 203C 0000 A88F move.l D0, 0xA88F
00003FC4 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003FC6 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00003FCA B488 cmp.l D2, A0
00003FCC 670A beq +0xC /* 00003FD8 */
00003FCE 598F subq.l A7, 4
00003FD0 3F3C 0016 move.w -[A7], 0x16
00003FD4 A88F syscall OSDispatch
00003FD6 201F move.l D0, [A7]+
label00003FD8:
00003FD8 6000 FE3A bra -0x1C4 /* 00003E14 */
export_15:
fn00003FDC:
00003FDC 225F movea.l A1, [A7]+
00003FDE 121F move.b D1, [A7]+
00003FE0 301F move.w D0, [A7]+
00003FE2 4A01 tst.b D1
00003FE4 6704 beq +0x6 /* 00003FEA */
00003FE6 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003FE8 6002 bra +0x4 /* 00003FEC */
label00003FEA:
00003FEA A346 syscall GetOSTrapAddress, flags=3
label00003FEC:
00003FEC 2E88 move.l [A7], A0
00003FEE 4ED1 jmp [A1]
fn00003FF0:
00003FF0 225F movea.l A1, [A7]+
00003FF2 101F move.b D0, [A7]+
00003FF4 205F movea.l A0, [A7]+
00003FF6 6604 bne +0x6 /* 00003FFC */
00003FF8 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003FFA 6002 bra +0x4 /* 00003FFE */
label00003FFC:
00003FFC A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label00003FFE:
00003FFE 3E80 move.w [A7], D0
00004000 4ED1 jmp [A1]
fn00004002:
00004002 4E56 FFCE link A6, -0x0032
00004006 204F movea.l A0, A7
00004008 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000400E 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00004014 4228 001A clr.b [A0 + 0x1A]
00004018 4228 001B clr.b [A0 + 0x1B]
0000401C 42A8 001C clr.l [A0 + 0x1C]
00004020 701A moveq.l D0, 0x1A
00004022 A060 syscall FSDispatch/HFSDispatch
00004024 0C40 FFCE cmpi.w D0, 0xFFCE
00004028 6602 bne +0x4 /* 0000402C */
0000402A A000 syscall Open/PBHOpen/HOpen
label0000402C:
0000402C 226E 0008 movea.l A1, [A6 + 0x8]
00004030 32A8 0018 move.w [A1], [A0 + 0x18]
00004034 3D40 0012 move.w [A6 + 0x12], D0
00004038 4E5E unlink A6
0000403A 205F movea.l A0, [A7]+
0000403C 4FEF 000A lea.l A7, [A7 + 0xA]
00004040 4ED0 jmp [A0]
export_16:
fn00004042:
00004042 4E56 FFCE link A6, -0x0032
00004046 204F movea.l A0, A7
00004048 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
0000404E A001 syscall Close
00004050 3D40 000A move.w [A6 + 0xA], D0
00004054 4E5E unlink A6
00004056 205F movea.l A0, [A7]+
00004058 548F addq.l A7, 2
0000405A 4ED0 jmp [A0]
fn0000405C:
0000405C 51C1 sf D1
0000405E 6002 bra +0x4 /* 00004062 */
fn00004060:
00004060 50C1 st D1
label00004062:
00004062 4E56 FFCE link A6, -0x0032
00004066 204F movea.l A0, A7
00004068 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
0000406E 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00004074 226E 000C movea.l A1, [A6 + 0xC]
00004078 2151 0024 move.l [A0 + 0x24], [A1]
0000407C 4268 002C clr.w [A0 + 0x2C]
00004080 42A8 002E clr.l [A0 + 0x2E]
00004084 4A01 tst.b D1
00004086 6604 bne +0x6 /* 0000408C */
00004088 A002 syscall Read
0000408A 6002 bra +0x4 /* 0000408E */
label0000408C:
0000408C A003 syscall Write
label0000408E:
0000408E 3D40 0012 move.w [A6 + 0x12], D0
00004092 226E 000C movea.l A1, [A6 + 0xC]
00004096 22A8 0028 move.l [A1], [A0 + 0x28]
0000409A 4E5E unlink A6
0000409C 225F movea.l A1, [A7]+
0000409E 4FEF 000A lea.l A7, [A7 + 0xA]
000040A2 4ED1 jmp [A1]
fn000040A4:
000040A4 4E56 FFC0 link A6, -0x0040
000040A8 204F movea.l A0, A7
000040AA 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
000040B0 A014 syscall GetVol/PBHGetVol/HGetVol
000040B2 3D40 0010 move.w [A6 + 0x10], D0
000040B6 226E 0008 movea.l A1, [A6 + 0x8]
000040BA 32A8 0016 move.w [A1], [A0 + 0x16]
000040BE 4E5E unlink A6
000040C0 225F movea.l A1, [A7]+
000040C2 508F addq.l A7, 8
000040C4 4ED1 jmp [A1]
fn000040C6:
000040C6 4E56 FFC0 link A6, -0x0040
000040CA 204F movea.l A0, A7
000040CC 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000040D2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000040D8 A013 syscall FlushVol
000040DA 3D40 000E move.w [A6 + 0xE], D0
000040DE 4E5E unlink A6
000040E0 225F movea.l A1, [A7]+
000040E2 5C8F addq.l A7, 6
000040E4 4ED1 jmp [A1]
fn000040E6:
000040E6 4E56 FFCE link A6, -0x0032
000040EA 204F movea.l A0, A7
000040EC 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000040F2 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
000040F8 A012 syscall SetEOF
000040FA 3D40 000E move.w [A6 + 0xE], D0
000040FE 4E5E unlink A6
00004100 225F movea.l A1, [A7]+
00004102 5C8F addq.l A7, 6
00004104 4ED1 jmp [A1]
fn00004106:
00004106 4E56 FFCE link A6, -0x0032
0000410A 204F movea.l A0, A7
0000410C 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00004112 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00004118 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
0000411E A044 syscall SetFPos
00004120 3D40 0010 move.w [A6 + 0x10], D0
00004124 4E5E unlink A6
00004126 225F movea.l A1, [A7]+
00004128 508F addq.l A7, 8
0000412A 4ED1 jmp [A1]
export_17:
0000412C 225F movea.l A1, [A7]+
0000412E 101F move.b D0, [A7]+
00004130 205F movea.l A0, [A7]+
00004132 6606 bne +0x8 /* 0000413A */
00004134 7007 moveq.l D0, 0x07
00004136 A260 syscall FSDispatch/HFSDispatch, flags=2
00004138 6004 bra +0x6 /* 0000413E */
label0000413A:
0000413A 7007 moveq.l D0, 0x07
0000413C A660 syscall FSDispatch/HFSDispatch, flags=6
label0000413E:
0000413E 3E80 move.w [A7], D0
00004140 4ED1 jmp [A1]
export_18:
00004142 225F movea.l A1, [A7]+
00004144 101F move.b D0, [A7]+
00004146 205F movea.l A0, [A7]+
00004148 6604 bne +0x6 /* 0000414E */
0000414A A200 syscall OpenSlot, flags=2
0000414C 6002 bra +0x4 /* 00004150 */
label0000414E:
0000414E A600 syscall Open/PBHOpen/HOpen, flags=6
label00004150:
00004150 3E80 move.w [A7], D0
00004152 4ED1 jmp [A1]
export_19:
00004154 225F movea.l A1, [A7]+
00004156 101F move.b D0, [A7]+
00004158 205F movea.l A0, [A7]+
0000415A 6604 bne +0x6 /* 00004160 */
0000415C A208 syscall Create/PBHCreate/HCreate, flags=2
0000415E 6002 bra +0x4 /* 00004162 */
label00004160:
00004160 A608 syscall Create/PBHCreate/HCreate, flags=6
label00004162:
00004162 3E80 move.w [A7], D0
00004164 4ED1 jmp [A1]
export_20:
00004166 225F movea.l A1, [A7]+
00004168 101F move.b D0, [A7]+
0000416A 205F movea.l A0, [A7]+
0000416C 6604 bne +0x6 /* 00004172 */
0000416E A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00004170 6002 bra +0x4 /* 00004174 */
label00004172:
00004172 A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00004174:
00004174 3E80 move.w [A7], D0
00004176 4ED1 jmp [A1]
export_21:
00004178 225F movea.l A1, [A7]+
0000417A 101F move.b D0, [A7]+
0000417C 205F movea.l A0, [A7]+
0000417E 6604 bne +0x6 /* 00004184 */
00004180 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00004182 6002 bra +0x4 /* 00004186 */
label00004184:
00004184 A60D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label00004186:
00004186 3E80 move.w [A7], D0
00004188 4ED1 jmp [A1]
fn0000418A:
0000418A 4E56 0000 link A6, 0
0000418E 594F subq.w A7, 4
00004190 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00004196 3F2E 000A move.w -[A7], [A6 + 0xA]
0000419A A9A0 syscall GetResource
0000419C 226E 000C movea.l A1, [A6 + 0xC]
000041A0 4211 clr.b [A1]
000041A2 201F move.l D0, [A7]+
000041A4 6722 beq +0x24 /* 000041C8 */
000041A6 2040 movea.l A0, D0
000041A8 2050 movea.l A0, [A0]
000041AA 3018 move.w D0, [A0]+
000041AC 322E 0008 move.w D1, [A6 + 0x8]
000041B0 6716 beq +0x18 /* 000041C8 */
000041B2 B240 cmp.w D1, D0
000041B4 6212 bhi +0x14 /* 000041C8 */
000041B6 7000 moveq.l D0, 0x00
label000041B8:
000041B8 5341 subq.w D1, 1
000041BA 6706 beq +0x8 /* 000041C2 */
000041BC 1018 move.b D0, [A0]+
000041BE D1C0 add.l A0, D0
000041C0 60F6 bra -0x8 /* 000041B8 */
label000041C2:
000041C2 1010 move.b D0, [A0]
000041C4 5240 addq.w D0, 1
000041C6 A02E syscall BlockMove/BlockMoveData
label000041C8:
000041C8 4E5E unlink A6
000041CA 205F movea.l A0, [A7]+
000041CC 508F addq.l A7, 8
000041CE 4ED0 jmp [A0]